[NTLUG:Discuss] GRUB and USB drives.
Wayne Walker
wwalker at bybent.com
Mon Sep 10 07:35:33 CDT 2007
Install Fedora. During install it asks where grub should be installed.
Or you can skip grub install. Then find a grub.iso and make a grub boot CD.
(http://www.bybent.com/grub.iso has one I built; "info grub" select
Installation, select "Making a GRUB bootable CD-ROM" to do it yourself
(you've no reason to trust my .iso)
Boot from the grub.iso, figure out which drive it thinks is the USB drive (probably hd1).
run
root (hd1,0) # assumes your /boot or /(if you have no /boot) is the first partition
setup (hd1)
Done.
Wayne
On Sun, Sep 09, 2007 at 10:28:47PM -0500, Steve Baker wrote:
> I have an HP laptop with WinXP - and I'm not supposed to 'mess it up' by
> installing Linux onto it - but I have a 300Gb USB drive, so I'd like to
> boot Linux from that instead.
>
> The BIOS lets me hold down the ESC key during startup - and to select
> "boot from USB"...so this sounds do-able.
>
> I installed SuSE 10.2 on the USB drive - but GRUB tried to write to the
> laptop's internal drive instead...and that's a "No No".
>
> I can't figure out what to tell GRUB to make it install a boot loader
> onto the USB drive that'll boot from the USB drive. I can boot from a
> SuSE Live-CD and run grub - but I can't figure out what to tell it.
>
> The USB drive mounts as /dev/sda1 (system partition) and /dev/sda3
> (user partition). Both are formatted 'Linux Native'. The "must not
> touch" hard drive is /dev/hda
>
> Help! Thanks!
>
>
>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
--
Wayne Walker
# Code comments are lies waiting to happen
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.gnumber.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the Discuss
mailing list