LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot to Floopy or CDROM/DVDROM drive from GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/boot-to-floopy-or-cdrom-dvdrom-drive-from-grub-619269/)

johncsl82 02-07-2008 02:24 AM

Boot to Floopy or CDROM/DVDROM drive from GRUB
 
hello Linux professionals,

When I reach GRUB menu, how do I boot into floopy or CDROM/DVDROM drive?

here is my grub.conf

Code:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora 8-base (2.6.23.1-42.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.23.1-42.fc8.img
title Fedora 8 (2.6.21-2950.fc8xen)
        root (hd0,0)
        kernel /xen.gz-2.6.21-2950.fc8
        module /vmlinuz-2.6.21-2950.fc8xen ro root=LABEL=/ rhgb quiet
        module /initrd-2.6.21-2950.fc8xen.img
title /boot
        rootnoverify (hd0,0)
        chainloader +1

and here is my file system layout:

Code:

Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/sda5              8182848    345248  7837600  5% /
/dev/sda9            95162664      4716  95157948  1% /home
/dev/sda7              1031360      4596  1026764  1% /tmp
/dev/sda6              2038016    553252  1484764  28% /var
/dev/sda4              8182880      4384  8178496  1% /opt
/dev/sda3            30717284  4643632  26073652  16% /usr
/dev/sda1              102769    14102    88667  14% /boot
tmpfs                  1030820        12  1030808  1% /dev/shm

therefore, how do I get grub to boot into floopy or CDROM/DVDROM drive?

Thank you

kilgoretrout 02-07-2008 03:41 AM

If your cd or floppy is bootable, then they don't need grub to help them boot, assuming your bios supports booting from a cdrom. All bioses support booting from a floppy drive. You just stick the cd or floppy in the drive, make sure your boot order in your bios setup is floppy-cdrom-hard drive and a bootable cd or floppy will boot if present. If your cd or floppy is not bootable, then grub won't be able to boot them either.

If your bios is very old and doesn't support booting from a cd/dvd drive, then here's a pretty cool hack that will let you boot a bootable cd through grub:

http://cutecomputer.wordpress.com/20...-through-grub/

mahmoud 02-07-2008 05:43 AM

sorry but what exactly are you trying to do

johncsl82 02-07-2008 12:39 PM

Quote:

Originally Posted by mahmoud (Post 3048955)
sorry but what exactly are you trying to do

Well sometimes I forgot to put in the live CD/DVD or floppy disk into the drive, and since now day computer boot up so fast........ which I came to GRUB without even realize it. Therefore, I need to setup my GRUB, which enable it to boot up live CD/DVD or floppy, if can USB storage device as well.

Thank You

Drakeo 02-07-2008 02:05 PM

to Grub Or not to grub.the thing with grub it will be best used on hda1 or sda1 drive the drive you boot from and yes on the mbr. but make sure you also put it on a floppy. after putting it on a floppy you will then be asked if you want to install it again click yes and then put it on the mbr.It will say that is not a good thing but to bad thats the only way it will works for me. or you. thats why you make the floppy encase the mbr gets corrupted you can boot from the floppy then reinstall grub to the mbr. (Master Boot Record)grub is a love hate thing but once you learn how to use that super small system that boots the kernel or Cdrive windows you will love it. most of the newer distros has set up grub to see and preload all your systems on your computer. like a dual boot for windows. Lilo is still my favorite.

Drakeo 02-08-2008 04:53 AM

root (hd0,0)-is sda1
(hd0,1) is sda2 etc etc


All times are GMT -5. The time now is 03:42 AM.