vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm using two hard disks on my pc. FUJITSU Hard Disk(HD 0), 10GB, with Fedora 1 installed and Seagate(HD 1), 4GB with windows XP. I'm using GRUB as my boot loader. Now, whenever I want to change OS, I've to change my first boot option from HD 0 to HD 1 and vice-versa. How can I configure my GRUB to boot windows from HD 1(hdb)? regards, GVK -- Happy Hacking!!! |
| |||
| GVK wrote: > Hi, > I'm using two hard disks on my pc. FUJITSU Hard Disk(HD 0), 10GB, with > Fedora 1 installed and Seagate(HD 1), 4GB with windows XP. I'm using > GRUB as my boot loader. Now, whenever I want to change OS, I've to > change my first boot option from HD 0 to HD 1 and vice-versa. How can I > configure my GRUB to boot windows from HD 1(hdb)? > > regards, > GVK Just to be sure, your both hd are master and slave in the same cable, Fedora in master hd and Win in the slave hd?(It seems so) Not sure about XP, but Windows 98 need to be (or at least needs to "think" - this is the tricky part) it is master, and not the slave... I'm assuming when you installed Fedora 1 you opted by installing grub in the mbr, and did not add an entry for a "DOS" entry, as requested, correct? Or if you did, it seems not to work. Don't know about grub commands specifically, but in lilo I've seen this sorted out in quite an easy way (not sure how risky it is, but consider yourself warned!). With the LILO instructions below (only the part of the lilo configuration dealing only with Win 98 quoted below), Win98 thought it was "c:"... : # DOS bootable partition config begins other = /dev/hdb1 label = Win98SE map-drive = 0x80 to = 0x81 map-drive = 0x81 to = 0x80 table = /dev/hdb # DOS bootable partition config ends Note the map-drive/to/table instructions above. They are the tricky (and maybe risky) part. I'm sure there should be something similar for grub. Good luck! Paulo |
| |||
| GVK wrote: > I'm using two hard disks on my pc. FUJITSU Hard Disk(HD 0), 10GB, with > Fedora 1 installed and Seagate(HD 1), 4GB with windows XP. I'm using > GRUB as my boot loader. Now, whenever I want to change OS, I've to > change my first boot option from HD 0 to HD 1 and vice-versa. How can I > configure my GRUB to boot windows from HD 1(hdb)? title Windows 2000 map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) chainloader +1 -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
| |||
| Paulo R. Dallan wrote: > Just to be sure, your both hd are master and slave in the same cable, Fedora > in master hd and Win in the slave hd?(It seems so) Yes, both master and slave in the same cable...Fedora on master and XP on slave. > Not sure about XP, but Windows 98 need to be (or at least needs to "think" - > this is the tricky part) it is master, and not the slave... Typical of Bill Gates > I'm assuming when you installed Fedora 1 you opted by installing grub in the > mbr, and did not add an entry for a "DOS" entry, as requested, correct? Or > if you did, it seems not to work. I seleted GRUB to be installed in MBR and it works fine. A few months after I installed Fedora, I got the second hard disk and got XP running. I don't know what to add in GRUB so that I can boot without changing bios settings everytime. > Don't know about grub commands specifically, but in lilo I've seen this > sorted out in quite an easy way (not sure how risky it is, but consider > yourself warned!). > > With the LILO instructions below (only the part of the lilo configuration > dealing only with Win 98 quoted below), Win98 thought it was "c:"... : > > # DOS bootable partition config begins > other = /dev/hdb1 > label = Win98SE > map-drive = 0x80 > to = 0x81 > map-drive = 0x81 > to = 0x80 > table = /dev/hdb > # DOS bootable partition config ends > > Note the map-drive/to/table instructions above. They are the tricky (and > maybe risky) part. I'm sure there should be something similar for grub. > Thanks, will try it out. GVK -- Happy Hacking!!! |
| |||
| Timothy Murphy wrote: > > title Windows 2000 > map (hd0,0) (hd1,0) > map (hd1,0) (hd0,0) > rootnoverify (hd1,0) > chainloader +1 > It worked Thanks a lot. It would be really helpful if you can explain what's going on here!!! GVK -- Happy Hacking!!! |
| |||
| GVK wrote: > Timothy Murphy wrote: >> >> title Windows 2000 >> map (hd0,0) (hd1,0) >> map (hd1,0) (hd0,0) >> rootnoverify (hd1,0) >> chainloader +1 >> > It worked > Thanks a lot. It would be really helpful if you can explain what's going > on here!!! Basically, it kids Windows into thinking it is on the master disk. "info grub" gives quite a lot of info on grub, on my system (Fedora-1), though I don't find it all that easy to follow. -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
| ||||
| Timothy Murphy wrote: > GVK wrote: > >> Timothy Murphy wrote: >>> >>> title Windows 2000 >>> map (hd0,0) (hd1,0) >>> map (hd1,0) (hd0,0) >>> rootnoverify (hd1,0) >>> chainloader +1 >>> >> It worked >> Thanks a lot. It would be really helpful if you can explain what's going >> on here!!! > > Basically, it kids Windows into thinking it is on the master disk. > "info grub" gives quite a lot of info on grub, on my system (Fedora-1), > though I don't find it all that easy to follow. > Good! So these are the grub instructions equivalent to the lilo ones I mentioned in the other post. Finally saw an example in how to do it! Thank you! I've tried to learn more about grub, but did not find it very easy, and did not find so many resourses (at least at this moment, it was easier to go deeper into lilo). For practical purposes, continued with lilo, to which I have more familiarity. Regards! Paulo |