Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a compaq with a 120 GB hard drive. 50 MB for Windoze and 70 MB for Mandrake 9.2
I got a new computer, so I just popped out the hard drive, and slid this one in the new machine.
LILO still comes up fine, but any attempt to go into Linux gets a "kernel panic", no init found. I assume this is due to the fact that the HD was hda in the old machine, and is now hdd in the new machine. I have tried passing commands at the lilo prompt (linux init=/dev/hdd5) but that doesn't work either.
I made a Tom's Root boot, and I can see my files, if I mount with a type of ext3. I edited my lilo.conf, reran lilo, and I get an error about a "read only" disk. Even though I have mounted rw.
I am ready to re-install and kiss everything good bye. Can someone help?
You most likely got it on the wrong IDE controller if it thinks its hdd now. And why are you taking a pre-existing install of two OS's and popping it in a new computer thinking its going to work correctly? You do realize unless you totally have all the same components of your old machine, unless you got a lot of time on your hands, it would probably be easier to backup your data first, move hard drive and then reinstall both OS's, then placing your important data back on the system instead of wasting your time reconfiguring your existing OS's to work with totally new hardware in which it was working fine with before the move.
Originally posted by dougp25 ... any attempt to go into Linux gets a "kernel panic", no init found. I assume this is due to the fact that the HD was hda in the old machine, and is now hdd in the new machine. ...
You have to change the entry for your root partition in "/etc/fstab".
If your fstab looked like this (I assume the swap partition was on hda6):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.