LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   A few grub questions / booting external usb drives (https://www.linuxquestions.org/questions/linux-general-1/a-few-grub-questions-booting-external-usb-drives-683623/)

Only_he_stands_here 11-15-2008 01:48 PM

A few grub questions / booting external usb drives
 
Hi all, this is my first post on LQ. :)

I have an Aspire one (8GB, Linpus) and I am wondering how to edit the grub.conf file so I can have the options to.

1. Boot my AA1 to a linpus terminal on start up.
2. Tell grub to boot a distro from an external usb drive.
3. Get grub to display it's GUI screen on startup.

I'm not even sure if all of the above is possible, but any help would be awesome! :) I have just re-installed linpus on my AA1 so I am starting with a clean slate.

my current grub.conf file is,


default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu

title Linpus Linux RCD

rootnoverify (hd0,0)
kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent loglevel=1 console=tty1 quiet
initrd /boot/initrd-splash.img

Thanks.

lwasserm 11-15-2008 04:08 PM

Change the line
hiddenmenu
to
#hiddenmenu
and your grub menu will be visible on boot.

I believe the existing boot stanza will give you #1 on your list.

Assuming your system BIOS recognizes a USB drive at boot, then grub can see it also. If the USB drive is bootable and is seen by grub as (hd1), then this boot stanza will give a menu choice of booting from the USB drive:

Title Boot from USB
root (hd1)
chainloader +1


All times are GMT -5. The time now is 09:59 AM.