PROBLEM: LILO & Transfer of Linux System from old HD to new HD.

PROBLEM: LILO & Transfer of Linux System from old HD to new HD.

Post by Daniel Cave - Unix Administrato » Sat, 29 Nov 1997 04:00:00

I wonder if anyone can help me with a small problem that I have.

I've moved my Linux system from a 1.7Mb Quantum Scirocco to a 2Gb Maxtor
Bigfoot on an EIDE bus.

I backed up my old system with my DAT drive and setup the new disk with
all the partitions  that I needed for my filesystems. When I created the
partition tables in cfdisk/fdisk I made /dev/hda1 bootable, Linux File

I mounted all the new partitions onto /new/ and extracted my old system
backup onto the new disk under /new on another LINUX system that I have.

Everything went fine, except when I booted the new disk using the new
fstab, and the redhat bootdisk doing the following..

LILO: mount root=/dev/hda1 ro (this booted my new system and the system
came up fine.)

When I tried to get LILO to install itself on the MBR of the new disk
using /sbin/lilo -v, it wouldn't install, and every time I re-booted
without the boot disk, at the point where LILO usually kicks in, I got
the message 'Missing Operating System'

I know what the problem is.. there isn't anything on the MBR of my new
disk, but how do I fix this so that I have LILO booting the kernel??

Please help!


Daniel Cave

Unix Systems Administrator
Arco Oil and Gas Exploration
Guildford, Surrey, UK

Direct Line             +44 01483 292285
UK Vodaphone mobile:    +44 0467  470139

Being a Unix admin ^[is] as easy as it looks! ^


1. New Install on New HD with an Old HD Copy question

I am relatively new to using Linux and had a question about copy files
from one HD to another.

Had a Redhat 7.1 install that was working fine until I got hit with
the Linux.Slapper.Worm.  So I decided to just buy a new harddrive and
install Redhat 8.0 on it.  Now, since I was doing some webhosting on
this system, I need to pull over the files from my old HD's
/home/httpd/html dir and put it on the new HD.  Problem is, during
bootup, it always installs the old HD even though it's been put second
on the IDE chain and is SLAVE to the new HD.  Anyone have a suggestion
to make the old HD available from the new HD Redhat install so I can
just copy those files over?

If I posted this in the wrong place, my apologies.

Thanks in advance.

2. Apache 2.x General Availability (GA) Release

3. esound and mp3 problems

4. New/fast HD with old/slow HD

5. Making text color in VC's stick

6. Setting up 2 new SCSI HD in a system with an IDE HD

7. do i need to free()

8. Problems with an IDE HD and new SCSI HD

9. How to transfer root and boot from scsi hd to ide hd

10. old EIDE HD + UDMA 33 HD on a UDMA 66 board

11. problem with old hd and new(1.3.100) kernel

12. lilo config for dual hd-boot hd->ramdisk-boot?