LinuxQuestions.org
Review your favorite Linux distribution.
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 03-18-2004, 05:27 PM   #1
gavinbeatty
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Debian testing
Posts: 79

Rep: Reputation: 15
Boot images linked incorrectly




Oh LinuxQueastions, we must stop meeting like this.

So anyway I was happily formatting my old Mandrake 9.2 partition and so I deleted it with the aim of resizing the rest to fille the gap.
Mandrake, puzzlingly for linux, asked me to REBOOT (an unholy word) for the partition table to be written before any further options could be used.

Stupidly, I complied and now, post-deletion, my Mandrake10.0 partition changed from being hda6 to hda5 and my swap changed from hda7 to hda6.

The problem ladies and gentlemen is that my bootloader now can't even load init and goes into kernel panic because it tries to load from hda6 (the old Mandrake10.0 but now the swap) and my 9.2 install (on hda5 before but now gone) does not work either in any way despite being linked to the right partition..

I can get to the rescue mode and into CLI so I COULD fix this if only I knew what the hell to do. I feel really bad because now I can't even blame windoze for my predicament and I really should have known lilo would have no clue what's going on.

 
Old 03-18-2004, 08:12 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I can get to the rescue mode and into CLI "

Then:
mkdir /oldyeller
mount /dev/hda5 /oldyeller
chroot /oldyeller

This will put you in your Mandrake system.
Then edit /etc/lilo to reflect your new partition arrangement and run:
lilo

Then edit /etc/fstab to reflect your new partition arrangement.

reboot and you should be good to go.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
boot images anantshri Linux - General 1 11-04-2005 09:34 AM
Boot Images LinuxRam Linux - General 2 09-03-2004 10:35 PM
free bsd iso images burned incorrectly. xviddivxoggmp3 Red Hat 2 08-12-2004 12:07 AM
Winxp linked to Linux Linked to home network OverboardKiller Linux - Networking 2 06-09-2003 10:59 AM
Why there are 2 boot images? gogo Linux - General 2 10-09-2001 11:15 AM

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

All times are GMT -5. The time now is 07:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration