LinHES Forums
http://forum.linhes.org/

LinHES on a thumbdrive
http://forum.linhes.org/viewtopic.php?f=1&t=20354
Page 1 of 1

Author:  cecil [ Thu Oct 08, 2009 10:40 pm ]
Post subject:  LinHES on a thumbdrive

tar xjpvf LinHES_R6.XX.YY.usbstick.tar.bz2
mount -t vfat -o umask=0,quiet /dev/foo /mnt/bar (where foo is the usb thumb drive formatted as vfat and bar is the mointpoint)
cp -pa LinHES_R6.XX.YY.usbstick/* /mnt/bar
/mnt/bar/syslinux/bootinstall.sh

Follow the instructions.

Author:  tjc [ Sat Oct 10, 2009 6:35 pm ]
Post subject: 

A minor update. It looks like the script for that final step is now called "bootinst.sh" and you need to run the whole procedure as root to preserve the ownership of the files and directories in the image.

For R6.01.00 the procedure on my Fedora workstation box looked like this:
Code:
# Become root
su -
# Unpack the image
tar xjpvf LinHES_R6.01.00.usbstick.tar.bz2
# Mount the USB stick
mount -t vfat -o umask=0,quiet /dev/sdc1 /mnt
# Clone the directory tree from the tar ball onto the USB stick
cp -pa LinHES_R6.01.00.usbstick/* /mnt/
# Setup the boot loader on the USB stick
/mnt/syslinux/bootinst.sh
# Clean up the temporary copy of the directory
rm -rf LinHES_R6.01.00.usbstick

Author:  marc.aronson [ Sat Jan 09, 2010 6:45 pm ]
Post subject: 

When I ran "/mnt/syslinux/bootinst.sh" on my R5.5 system I received the error:
Code:
sh: mcopy: command not found

I resolved this by doing the following as root:
Code:
apt-get update
apt-get install mtools

Author:  graysky [ Sat Mar 06, 2010 1:19 pm ]
Post subject: 

You can also use unetbootin from the CD's iso.

Image

Author:  Greg Frost [ Sat Mar 06, 2010 11:25 pm ]
Post subject: 

Im trying to get my acer aspire revo R3610 installed this way. I have tried both the usbstick.tar.gz and the unetbootin method, but I cant get it to boot from the USB stick. How should the stick be formatted? When I did it initially, I didnt have any partitions on the usbstick (it was mounted just by saying mount /dev/sdc (not /dev/sdc1) on my MBE. It started to boot into LinHES but got to a point where it said it couldnt access /dev/sda1. Now that I have a partition on the USB stick, it wont even attempt to boot from it.
Im using a 16G usb drive. Could that be a problem?

Author:  graysky [ Sun Mar 07, 2010 5:01 am ]
Post subject: 

@GF - I take my suggested back... I was able to make a usb stick from the gz but I couldn't get it to boot :(

Author:  Greg Frost [ Thu Mar 11, 2010 4:12 am ]
Post subject: 

well, I actually got unetbootin to make a usb that would boot using the LinHES_R6.02.00.iso
My problem all along is that I was trying to get my acer aspire revo to boot off of the usb sitck by selecting removable storage. That sort of worked when the USB sitck had no partitions (fat file system on /dev/sdc instead of /dev/sdc1), but it failed part way through the boot. When I had the stick formatted with a partition conventionally, it would not recognise it as removable storage. What I failed to notice was that it was recognised as a hard drive. So I just had to go into the hard drive menu and change its order to be before the internal harddrive and it booted.

Having said all of that, I did have some problems installing. Ill put them in another post.

Author:  ceenvee703 [ Tue Jun 01, 2010 2:33 pm ]
Post subject: 

Any other hints on getting a USB stick to boot/install LinHES?

I used tjc's instructions with the R6.02.00.usbstick file, as root, under Ubuntu. Tried to boot an Atomic Ant (same configuration as listed except without the CD/DVD drive, hence my needing to install from USB) and got "Boot Error." Tried Greg's trick to set the USB drive as the main boot device in the BIOS: same "Boot Error."

Author:  ceenvee703 [ Tue Jun 01, 2010 8:08 pm ]
Post subject: 

Ok, by changing some BIOS settings for booting USB drives, I'm able to get to the LinHES splash screen with both the usbstick file, as well as using unetbootin with the standard ISO file, BUT...

... when I boot, it just freezes at the LinHES splash screen. When I install without the splash screen, I can see what the problem is. It seems to go fine until it hits the "LinHES installation" section, where things start getting listed as [OK] or not. When it hits "UDEV" (I forget what the line says exactly), the status says [BUSY] instead of [OK] and it immediately shows a bunch of commands and freezes.

I'll search for UDEV and USB and see how that goes. Any other ideas?

Author:  tjc [ Sun Jun 13, 2010 11:07 am ]
Post subject: 

Updated for R6.03.00 the procedure on my Fedora workstation box looked like this:
Code:
# Become root
su -
# Unpack the image
tar xjpvf LinHES_R6.03.00.usbstick.tar.bz2
# Mount the USB stick
mount -t vfat -o umask=0,quiet /dev/sdc1 /mnt
# Clone the directory tree from the tar ball onto the USB stick
cp -pa usbstick/* /mnt/
# Setup the boot loader on the USB stick
/mnt/syslinux/bootinst.sh
# Clean up the temporary copy of the directory
rm -rf usbstick
# Unmount the usb stick
umount /mnt

Author:  tnclub [ Wed Jun 30, 2010 11:31 am ]
Post subject: 

I used the unetbootin method too, for R6.02 i got to boot and go halfway through the install then hangs on the splash screen as well. i was able to get it to work though, i reformated the hard drive and then ran it again. i believe i hung on the splash the first goround, but rebooted then it installed normally. not sure what the problem is, but was able to get it to go.
i'm going to try it again, with the R6.03 using the usbstick.tar method.
i really think it doesn't like the setup of the hard dirve.

anyone have any updated info?

thanks.

Author:  cesman [ Fri Dec 31, 2010 4:28 pm ]
Post subject: 

For R7 and future releases, the ISO will be a hybrid ISO. Burn it to CD and dd it to a USB thumb drive and that is that...
Code:
dd if=/path/to/LinHES.iso of=/dev/sdd

Author:  tscholl [ Wed Apr 24, 2013 2:20 pm ]
Post subject:  Re: LinHES on a thumbdrive

Used dd if=/path/to/LinHES.iso of=/dev/{usb_id} to transfer the R8 iso image to a usb drive.

When it boots I get an error that says
Code:
"isolinunx.bin missing or corrupt"


So I mounted the usb drive and verified that isolinunx.bin is in fact there and reports

-rw-r--r-- 1 root root 24576 Feb 11 11:25 isolinux.bin
[root@mythtv2 isolinux]# file isolinux.bin
isolinux.bin: data

The Md5sum is good and have used the same image to create an install cd that works fine. I looked at the install cd on a windows box and it reports that exact same file size as the thumb drive. The Thumb drive however is not readable by windows

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/