Making Grub boot a cd/dvd?
Hopefully this is an easy question.
I want to be able to boot my WinXP cd from grub. Unfortunately i can't get grub to see my cd or dvd drive. Here's grub.conf: Code:
# grub.conf generated by anaconda Here's a part of my fstab: Code:
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0 Does anybody know what's going wrong? If there is a better way to get at my cd or dvd drive through grub, i'm eager to know how. I'd really appreciate some help on this. Thanks in advance. |
Hello,
just a question: why doing that with Grub whereas it's up to your BIOS to do such a work :confused: Oliv' |
As Oliv' said this does not have anything to do with Grub or any boot loader. Are you trying to install Windows from a CD/DVD or boot your installed Windows?
|
...
Quote:
|
The goal was to install WinXP on the 3rd partition of my second harddrive. I know that WinXP only likes to be on the first partition of the first disk but i've read a few places online that you can use GRUB to trick windows into thinking it's on a partition that it's not.
I admit that i don't know a whole lot about this kind of stuff, but i've heard that windows will take over my MBR and mess with my linux partitions if you don't install it correctly. My BIOS is set up to boot from both my cd and dvd drives. I've been trying to follow this: http://tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/ Most help i find online for installing windows with linux is always starting with windows and adding linux. My case is that i want windows while keeping my existing linux. The above and a few other websites have made it seem like i need to use GRUB to trick windows. Any advice? Is this still something beyond what GRUB can do? |
GRUB tricks Windows at boot time. It cannot and has nothing to do with tricking Windows at the installation time.
Long ago when I tried to install Windows on my second HD, I removed the first HD physically and set the second HD as primary for the duration of Windows Installation. After that I reset everything to normal. Here is the trick that GRUB uses to trick Windows at boot time: Code:
title winxp EDIT: I forgot to mention that you need to find a way to boot Fedora and install GRUB again after you are done with your Windows installation. With Slackware and SuSE I usually use the first CD to boot the system. It might be the case with Fedora. |
Hi Chomper
Just edit your partition tables as you want and leave a space for MS XP or you might even make a partition for XP and format it as FAT32, configure your bios to boot from the cdrom and install MS XP in the partition you have reserved for it. Boot up with FC4 first disk and choose recovery, after recovery is loaded your dropped to a shell as root, issue the following commands: chroot /mnt/sys /sbin/grub-install to reinstall grub to MBR of your disk. Another thing, if you wish to have MS XP installed on drive C: you MUST NOT HAVE ANY PARTITIONS IT CAN RECOGNIZE, i.e. you may not have any fat32, fat or ntfs partition on your disk. If this is the case use FC4 fdisk to change the partition type to anything MS XP does not reconize and have changed back again after MS XP is intalled, this way XP will be drive C: and the other that were hidden will be E: and so forward. Hope this helps. JdogPC |
From the aforementioned tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/index.html
Quote:
I've already tried getting my windows onto this drive, but it failed, screwing up my partition tables in the process! (thank goodness for gpart - http://www.stud.uni-hannover.de/user/76201/gpart/ )... I thought that doing that mapping stuff would be a safer way to go for my second try... Anyway, so the final word is that GRUB can NOT boot a CDROM, despite the above evidence that it can do it to a floppy? It isn't ignorance or error on my part, but a missing capability on GRUB's part? Thanks... |
Making a grub-bootable cd/dvd-rom
You might be interested it this short little HOWTO:
http://www.gnu.org/software/grub/man...le-CD-ROM.html |
BIOS
I do realize that I am incredibly late to the game for the original poster's question. However, I came across this thread because of a problem of my own and want others that may be in the same boat as me to get the solution that I found.
It is true that grub is not meant to provide the user with an interface to select bootable locations. You can trick it but that didn't help me. I forgot my password to my linux box and wanted to load a new distro on it from a cd. Of course, grub does not offer that option natively. So, I found this article that reminded me that the BIOS menu is part of the motherboard of ALL computers and can be accessed immediately after power on. Here's the link: http://pcsupport.about.com/od/fixthe...accessbios.htm Cheerio. |
All times are GMT -5. The time now is 06:42 PM. |