> 1. Did you move Windows to the new disk?
Nothing on my old drives is touched. I installed a new version of Linux
(Redhat 6.1) on my new drive, and used a multi-boot manager to boot all the
OSs. New version of linux and the Win95 on my old drives works fine.
Unfortunately the old version of Linux cannot boot. Some of my developing
environments were setup on the old version of Linux. That's why I kept the
old version and tried to boot it.
Quote:> 2. Does Windows boot?
Quote:> 3. Did you have LILO on the old disk for dual-boot?
Not exactly. I boot my Win95 from a boot manager, the LILO on the old disk
is only used for booting my linux, even though I did not remove the Win95
Quote:> 4. Do you want dual-boot with LILO on the new disk?
I already have a boot manager on the new disk.
Quote:> 5. Can you boot from a boot floppy?
Never tried. I can mount the old linux file system in the new Linux 6.1.
From there I modified all those /etc/lilo.conf and /etc/fstab.
Quote:> 6. Can you boot from a previous boot floppy using the line
Have no idea.
Quote:> 7. Did you make the changes for your swap partition in /etc/fstab also?
What change do I need to make?
Quote:> 8. If you replace the old drive on the Primary controller, will Linux
Yes. That's the only way I can use the old linux.
Quote:> 9. There was some question about LILO being able to boot a disk on the
> secondary conrtoller. Did you try to install the old HDD as Primary
No. I've got a CD drive as the primary slave. Besides, I was told that the
master devices will be faster.
Quote:> 10. Can you boot Linux if the disk is Primary/Slave?
I do not know.
The contents of /etc/fstab:
/dev/hdc4 / ext2 defaults 1 1
/dev/hdc3 /usr ext2 defaults 1 2
/dev/hdc2 swap swap defaults 0 0
/dev/hdc1 /mnt/dos vfat noauto,ro 0 0
/dev/fd0 /mnt/floppy ext2 noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
> Questions below...
> Conor Daly
> >I bought a new hard drive and moved my old drive to the second
> >However, I won't be able to boot the Redhat Linux 5.0 installed on that
> >drive anymore. With the help of some expert, I managed to edit the
> >/etc/fstab file and rename the devices from /dev/hda to /dv/hdc.
> If you boot from a boot/root floppy, can you mount the /dev/hdc drive? I
> presume you can since this is what you would have had to do to do the
> /etc/fstab and lilo.conf changes.
> >I also changed the /etc/lilo.conf.
> The line in your lilo.conf :
> > bios = 0x80
> looks incomplete to me. Kinda seems it should read something like bios =
> 0x803 or something like that. I'll hafta boot Linux and check. Back in a
> Back again. Research inconclusive but I think that line is wrong somehow.
> >But I still cannot boot the linux box. Error
> >happens during/after the re-mount of the root '/' directory into
> >It looks like the Linux cannot find the disk anymore and continues
> >'timeout'. Could somebody give me some idea and help me out of this? TIA.
> >p.s. Here is the contents of lilo.conf:
> >disk=/dev/hdc << What does this line mean? Did it used to
> read disk=/dev/hda ?
> > bios = 0x80 << This looks wrong to me but I'm not
> about that. Did you
> need it when the old
> disk was on the primary controller?
> It would need to be
> changed to reflect the disk being on the secondary
> controller now.
> >boot=/dev/hdc4 << Are you installing LILO on the start of the
> Linux partition?
> If you want to boot Windows
> also, you need to replace this with
> >other=/dev/hdc1 << Did you move Windows onto the new Disk? If
> so, this should read
> > label=win95
> > table=/dev/hdc << This should be
> > label=linux
> > root=/dev/hdc4
> > read-only
> Posting your /etc/fstab also would help. Some more detail about what you
> did when you got the new disk would also be useful.
> 1. Did you move Windows to the new disk?
> 2. Does Windows boot?
> 3. Did you have LILO on the old disk for dual-boot?
> 4. Do you want dual-boot with LILO on the new disk?
> 5. Can you boot from a boot floppy?
> 6. Can you boot from a previous boot floppy using the line
> 7. Did you make the changes for your swap partition in /etc/fstab also?
> 8. If you replace the old drive on the Primary controller, will Linux
> 9. There was some question about LILO being able to boot a disk on the
> conrtoller. Did you try to install the old HDD as Primary Slave?
> 10. Can you boot Linux if the disk is Primary/Slave?