![]() |
|
Bootloader question... |
Mokkan
Member #4,355
February 2004
![]() |
I'm working on making my computer a dual boot again, right now. My setup is a 20gb IDE drive on channel 1 (same channel as cdrom, pinned as master), and a 120gb SATA drive on channel 2. My SATA drive is NTFS, with XP installed... this was my primary boot drive, until I stuck the 20gb in. Now... I want to be sure that the bootloader is installed to the 20gb hard drive. Is there a way of controlling this? To boot from the 20gb, I just switched the boot order in my BIOS... is that enough?
|
HoHo
Member #4,534
April 2004
![]() |
First, what bootloader are you using? __________ |
Mokkan
Member #4,355
February 2004
![]() |
I was leaning towards LILO... because I haven't gotten GRUB to work before. I'll try GRUB, though. So you have to specify a drive to install to for GRUB? And if I were to use LILO, what would I do?
|
HoHo
Member #4,534
April 2004
![]() |
I would use Grub myself because it has always worked perfectly for me For some more info you might want to read these links: The last two are about Gentoo but it is almost the same regardless used distribution. I suggest you just set the 20G drive to be the first to boot from BIOS, set the make first partition bootable via fdisk and install GRUB on it. It should work without much trouble. If anyhing isn't working search google and your distribution forums. Failing that ask here. We have quite a lot of Linux users here. __________ |
Mokkan
Member #4,355
February 2004
![]() |
Alright, I'm going with GRUB
|
BAF
Member #2,981
December 2002
![]() |
Quote:
Alright, I'm going with GRUB
Quote: My setup is a 20gb IDE drive on channel 1 (same channel as cdrom, pinned as master), and a 120gb SATA drive on channel 2. AFAIK, it is hd<channel[zero based]>,<id> -- so your 20 gig drive should be hd0,0 and the sata should be hd1,0. |
HoHo
Member #4,534
April 2004
![]() |
and if it isn't, repairing it is trivial. Just boot from CD, choot and run #grub again. Perhaps modify grub.conf too. __________ |
Mokkan
Member #4,355
February 2004
![]() |
Yay! It worked title=Windows XP
|
HoHo
Member #4,534
April 2004
![]() |
On what partition xp resides(/dev/sdaX)? __________ |
Mokkan
Member #4,355
February 2004
![]() |
It's on /dev/sda1, I believe. EDIT: Yeah, that's it.
|
BAF
Member #2,981
December 2002
![]() |
maybe try hd2,0 or hd3,0 (SATA should go on channel 4, after the 2 IDE channels). |
Mokkan
Member #4,355
February 2004
![]() |
Well, GRUB found /dev/sda on hd1,0 when I ran grub-install... so I'm not sure if that would help
|
HoHo
Member #4,534
April 2004
![]() |
In theory it might be that Windows refuses to boot after the disk have been reordered in BIOS. You could try set the sata drive back to be the first bootable, install GRUB on it and try again. If something goes wrong you can restore the windows own master boot record on the sata drive by booting from windows cd, entering repair console and running fixmbr. Be sure to read help about this command first, I have never used it before. __________ |
Mokkan
Member #4,355
February 2004
![]() |
Yeah.. perhaps I will just put GRUB on the SATA drive. Was kind of hoping to avoid it, but oh well, it doesn't matter I guess Ooh, and for the record, the last time I ran fixmbr to remove a bootloader (september of 05), it broke my partition table, and I had to reformat EDIT: Crap, please bump so I can give cookies
|
relpatseht
Member #5,034
September 2004
![]() |
bump. fixmbr worked when I used it a few hours ago.
|
Mokkan
Member #4,355
February 2004
![]() |
Yay cookies
|
HoHo
Member #4,534
April 2004
![]() |
You are most welcome Quote: it doesn't matter I guess It doesn't __________ |
scriptX
Member #6,574
November 2005
![]() |
fixmbr worked for me as well, although I ended up reinstalling XP.. but that's another story. Also, running optical drives on the same IDE channel as hard drives slows the HD down. |
Mokkan
Member #4,355
February 2004
![]() |
Quote: Also, running optical drives on the same IDE channel as hard drives slows the HD down.
Well, yeah
|
|