Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
As mentioned in one of the reply I changed all the hdc references hdb in the fstab file. Similarly, changed the kernel line from /dev/hdc1 ro to /dev/hdb1 ro in the menu.1st file.
THE PROBLEM GOT SOLVED!! I am able to boot from 40GB HDD without any issues.
title Debian GNU/Linux, kernel 2.6.18-6-686
root (hd0,0)
initrd /boot/initrd.img-2.6.18-6-686
savedefault
So grub is working then, that bit's all right.
Try changing kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/hdb1 ro to root=/dev/hda1 (which is what I meant to say above). In unlikely event it doesn't work try various fiddlings with file and are you sure 250 is formatted as ext3, not ext2 perhaps - fdisk -l.
Should think that's correct. The problem now is that the OS thinking the first drive is the bigger hd is trying to mount it, like it used to mount the smaller.
So you're right /etc/fstab needs changing. Just replace all the hda's with hdb's.
For completeness. If we were talking sata drives: If small hd was in sata plug 1, and big hd -> sata 3; and cdrom-drive -> sata 2; then swop over the big hd and the cdrom-drive - their plugs. Then no need to fiddle with files (at least with Debian). Same thing may work with ide plugs or whatever they are called.
Last edited by lugoteehalt; 11-02-2008 at 06:59 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.