Problems getting Linux running after partition shuffle
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.
Problems getting Linux running after partition shuffle
A little while ago I had to reinstall SuSE 8.2 after royally screwing something up, so I ended up with two partitions on hdb.. hdb3, my old Linux system, and hdb4, my new one. I recovered as much data as I could from hdb3, then today I deleted it. However, when I deleted it the partitions got shuffled, so my 'new' Linux system is now hdb2, and now it won't start properly. I think I've got grub.conf and menu.lst modified appropriately, but whenever I try to do a 'grub-install /dev/hda', I get something about it not reading /boot/grub/stage1 correctly, which seems odd because the file is right where it should be. I've managed to get Windows running fine through the GRUB prompt (chainloader (hd0,0)+1), but when I try to run Linux via the prompt I get complaints from fsck, which is looking for hdb4 and, of course, failing to find a reiserfs filesystem there, so instead of loading KDE it dumps me into a prompt.
well by deleting that entry, you're partition setup is all wrong in grub.conf. that shift you talked about is what screwed it up. you need to fix grub.conf to translate this change to your linux partition. an easier way is to try recreate that partition you deleted except make it really small.
Yeah, I changed all the references in grub.conf, but it still doesn't work. Does grub need to be reinstalled for the changes to take effect?
So I'm assuming I would make the small partition to fix the fsck issues. I can try that, though I'd prefer a solution wherein I don't have to create more partitions, of course.
Last edited by Silvermink; 10-27-2003 at 02:10 AM.
Ah, I fixed it. The key was editing /etc/fstab so it matched up with my current config... after that, I managed to boot Linux normally, then I did a grub-install (which worked this time) to write the changes I made to grub.conf and menu.lst to the MBR.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.