Re: swapping hard disks
I am definitely a casual GNU/Linux user and a newbie, so please don't
take take this suggestion as absolutely correct.
When I first used Linux it was RHat, and I definitely wanted to keep
Windows working without incident. My approach was to load Linux on a
second hard drive & physically switch the IDE cable to dual boot. Yes, I
know, primitive.
I did a bit of reading and found that I could leave the Linux disk as
primary, & use LILO to boot Windows on the second drive.
You will need more information on bootable partitions and drive
addressing (that is, hda & hdc). I'm very foggy in those areas. The
command 'fdisk' can make partitions bootable. I believe that wherever
LILO is located must be a bootable partition.
The lilo.conf file that achieved booting from selected disks follows:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
disk = /dev/hdc
sectors = 63
heads = 255
cylinders = 784
other=/dev/hdc1
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
label = win95
table = /dev/hdc
image=/boot/vmlinuz-2.0.31
label=linux
root=/dev/hda1
read-only
I hope this was some help, & good luck!
Barry
On Tue, Apr 24, 2001 at 10:24:56AM -0500, Brian Smith (bsmith@webnetint.com) wrote:
> I just got Debian installed (potatoe), and due to the way I had to get
> the old machine up and gonig to install from CD rom, the hard disk on
> which I installed is connected to the second IDE master, not the
> primary. The installation routine located it as /dev/hdc1.
>
> How can I modify my configuration so I can physically disconnect this
> disk and connect it to the primary IDE channel, and make it bootable.
> I'm booting from floppy right now. When I tried to make the disk
> bootable during install, I got some error "incorrect geometry" or
> something like that, I could load LILO on either hard disk for some
> reason.
>
> Any help is appreciated, I've got on old Pentium 100, 72 Mb RAM, windoze
> disk is 800 Mb, Linux disk is 1 Gb.
>
> Brian
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: