LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Moving linux hard drive to primary slave (https://www.linuxquestions.org/questions/linux-general-1/moving-linux-hard-drive-to-primary-slave-12469/)

flyboy320 01-23-2002 08:54 AM

Moving linux hard drive to primary slave
 
I have installed a new hd (as primary master) and would like to make my old hd with Redhat 7.2 my primary slave. When I boot windoz from my new hard drive (c:), I can see my old hard drive as letter d:.

If I change my bios settings to first boot drive d: (to try to get linux to load), linux starts to load but I get a kenal panic error. Is there a way to get linux to work in this new setup?

acid_kewpie 01-23-2002 09:27 AM

1) you shouldn't be able to see the old drive in windows, somethings prolly gone a bit wonky there.

2) Swap the drives over, is much much easier that way. then you just plain lie to windows and tell it that it's the pri master even though it's the slave.

in your lilo.conf (if you're using lilo) you want to make the windows option listed as:

other=/dev/hdb1
label=windows
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

flyboy320 01-23-2002 09:35 AM

OK, interesting...l'll give it a try.

I forgot to mention that the old drive that I moved has both win98 and redhat on it (using lilo to boot from). Perhaps that is why I can see the drive letter when I run windoz from my new hd.

flyboy320 01-23-2002 11:00 AM

Thanks for your help. It worked like a charm.

It took a while to realize I had to run lilo to make the changes, but once I did that....no problem

acid_kewpie 01-23-2002 11:30 AM

cool. yeah i would've gone through that as well, but it gets tiring typing out all everything when ppl don't always pay attention to it... that setup also has the advantage that the linux system has NOTHING in common with linux, so you can simply remove the linux drive and you'd have never known it was there, as the pri slv boot record was never touched


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