Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to install on USB Stick with GRUB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Fri Jan 23, 2009 6:13 am    Post subject: Trying to install on USB Stick with GRUB Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri Jan 23, 2009 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Fri Jan 23, 2009 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri Jan 23, 2009 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum