LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-26-2003, 11:25 PM   #1
Silvermink
LQ Newbie
 
Registered: Sep 2003
Location: Vancouver, BC
Distribution: SuSE 8.2, Mandrake 10.0
Posts: 11

Rep: Reputation: 0
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.

Help?
 
Old 10-27-2003, 12:43 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
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.
 
Old 10-27-2003, 12:45 AM   #3
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
try recreating a partition where you deleted the old partition
 
Old 10-27-2003, 02:09 AM   #4
Silvermink
LQ Newbie
 
Registered: Sep 2003
Location: Vancouver, BC
Distribution: SuSE 8.2, Mandrake 10.0
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 10-27-2003, 02:51 AM   #5
Silvermink
LQ Newbie
 
Registered: Sep 2003
Location: Vancouver, BC
Distribution: SuSE 8.2, Mandrake 10.0
Posts: 11

Original Poster
Rep: Reputation: 0
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.

Crisis averted. Stand down from red alert.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipod shuffle with linux cinchel Linux - General 34 12-24-2006 12:47 AM
iPod shuffle problems - usb-storage, ehci, scsi? nitio Linux - Hardware 0 11-18-2005 01:55 PM
How to re-partition a running Linux system? Maarten_Holland Linux - General 1 04-19-2005 03:35 PM
Does Apple's iPod Shuffle work with linux? dr_zayus69 Linux - Hardware 5 04-09-2005 08:49 AM
graphical problems while running linux deathsythe210 Linux - Hardware 3 07-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration