LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2008, 03:24 AM   #1
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Rep: Reputation: 18
Question 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
 
Old 02-07-2008, 04:41 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,477

Rep: Reputation: 191Reputation: 191
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/
 
Old 02-07-2008, 06:43 AM   #3
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
sorry but what exactly are you trying to do
 
Old 02-07-2008, 01:39 PM   #4
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by mahmoud View Post
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
 
Old 02-07-2008, 03:05 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
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.
 
Old 02-08-2008, 05:53 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
root (hd0,0)-is sda1
(hd0,1) is sda2 etc etc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cdrom/dvdrom Combo shirley55666 Linux - Software 5 02-16-2006 05:35 PM
Linux hangs on boot b/c no floopy drive Penseur46 Linux - Laptop and Netbook 1 01-31-2005 04:04 PM
Just installed redhat 9.0 but I can't boot to it and I DONT have a floopy drive...??? nirav Linux - Laptop and Netbook 2 02-14-2004 01:56 PM
Help DVDRom detected as CDRom Kwiki Linux - Newbie 1 01-19-2003 10:46 PM
Help with my cdrom/dvdrom trentk Linux - Newbie 12 02-14-2002 08:55 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration