View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: LinHES on a thumbdrive
PostPosted: Thu Oct 08, 2009 10:40 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2657
Location: Whittier, Ca
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 10, 2009 6:35 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 09, 2010 6:45 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1530
Location: California
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

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 06, 2010 1:19 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
You can also use unetbootin from the CD's iso.

Image

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 06, 2010 11:25 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 07, 2010 5:01 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
@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 :(

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 11, 2010 4:12 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 2:33 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
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."


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 8:08 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 13, 2010 11:07 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 30, 2010 11:31 am 
Offline
Joined: Wed Jul 25, 2007 10:42 am
Posts: 1
Location: N.C
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.

_________________
-------KnoppMyth R5F27-------


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 31, 2010 4:28 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Wed Apr 24, 2013 2:20 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 860
Location: Lexington, Ky
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu