View previous topic :: View next topic |
Author |
Message |
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Fri Jan 23, 2009 6:13 am Post subject: Trying to install on USB Stick with GRUB |
|
|
Hello,
I'm trying to install Gentoo essentials on a USB-Stick. But not with syslinux and as shown in the "Liveusb HOWTO", but with GRUB. So what I did is the following:
* Purge the USB-Stick /dev/sdc with dd
* Use cfdisk to create a MBR and partition table with one partition sdc1, bootable, maximized, linux
* mke2fs on /dev/sdc1
* tune2fs
* mkdir /boot/grub and copied all the required GRUB-files from my local amd64-installation
* Modified grub's device.map, ran grub --no-floppy and executed root (hd2,0) ... setup (hd2). There I got:
Running "embed /boot/grub/embed/e2fs_stage1_5 (hd2,0)"...failed (this is not fatal)
but at the end "Success"
* Altered the menu.lst
But when I trie to boot from the stick, nothing happens and the computer boots as normal. I've never booted from a USB-Stick so I can't tell whether the flash drive is configured correctly and my BIOS just doesnt like it, or if something else is wrong.
Thanks for your help. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Jan 23, 2009 6:12 pm Post subject: |
|
|
ManDay,
In your BIOS, set USB boot as a higher priority than HDD boot.
The BIOs is not checking for USB as it finds the HDD first _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Fri Jan 23, 2009 6:47 pm Post subject: |
|
|
Hi NeddySeagon,
I've tried to do that but I don't get it to boot from USB. Even if I disable boot frm HDD completely and only leave several USB-**** options, it will boot from HDD.
In the BIOS I can choose from
[ 4 Boot devices which have "USB" in the name - ill edit them in after i will have restarted my computer next time ] |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Jan 23, 2009 8:11 pm Post subject: |
|
|
ManDay,
Check on your USB drive that exactly one partition has the bootable flag set.
Some BIOSes insist on this. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|