LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2006, 11:22 AM   #1
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Rep: Reputation: 15
Messed up partitioning - CAN'T BOOT


I have a dual boot set-up with Win XP and Mandriva 2006. I wanted to increase my Linux partition to be able to upgrade to Mandriva 2007 (during intitial attempt of upgrading, the message came up that the system did not have enough space). So I allocated more hard drive space by decreasing my Winwods partition and then assigned free space to the Linux partition. Well, that renamed existing Linuxs partitions and probably did something else which I cannot understand at this point. The result, I cannot boot into Linux anymore. Any ideas if I can restore the previous partitions? Any help is much appreciated.

Last edited by tolstyi; 11-01-2006 at 11:25 AM.
 
Old 11-01-2006, 02:35 PM   #2
Notwerk
Member
 
Registered: Apr 2005
Location: Jordan
Distribution: Debian (Sarge), Ubuntu (6.06)
Posts: 271

Rep: Reputation: 31
1) How was your hard drive partitioned before you changed it? Please list the partition types, the filesystem of each and their sizes (oh, and mount point if it exists).

2) How did you "assign" the free space to the linux parition? And which partition did you assing it to?
 
Old 11-01-2006, 02:46 PM   #3
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
I am away from my PC right now so I'll try to answer your questions from my memory until I get home later on today and take a look at it again.

I had:

1) Windows partition
2) hda3 ext partition containing root (mounted /)
3) swap partition /s
4) hda4 ext partition (mounted /home)

After I 'freed up' more space, I created another partition. This renamed with became hda5, and the rest Linux partitions were renamed hda6, hda7, hda8 accordingly. This is what I vaguely remember at this point.

One more thing, I tried to run upgrade on Mandriva 2006 (which is currently installed), and when I reach Partitioning I can see existing partitions. Is there any way I could do anything there to reassign/repair things? Thanks!


P.S. I realize now that partitioning in Linux is extremely "tricky" if you don't know what you are doing. Stupid of me to mess around with it without much clue.
 
Old 11-01-2006, 02:53 PM   #4
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
I forgot to answer the second question.

I freed up hard disc space under Windows. Then I went into Mandriva System Confguration utility, picked the unassigned space and made it another Linux partition.

Once that was done, I got a message about bootloader not being able to accept changes or something along those line. When I boot up into Linux in verbose mode, it tells me that it cannont find ext3 partition and gives me kernel panic signal.
 
Old 11-01-2006, 05:39 PM   #5
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
I fixed the problem. I used istallation CD, went into manual partitioning section and removed the partition that I incorrectly created. So I am back to my old installation Mandriva 2006.

But for future reference, how do I expand the size of my existing partition? For example, how would I correctly add this freed up section? Thanks.
 
Old 11-02-2006, 06:20 AM   #6
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

I think the easiest way is to use a live cd -- Knoppix, boot up the system and then use QTParted, you will be able to resize the partition graphically then..
Cheers
 
Old 11-05-2006, 11:15 AM   #7
Notwerk
Member
 
Registered: Apr 2005
Location: Jordan
Distribution: Debian (Sarge), Ubuntu (6.06)
Posts: 271

Rep: Reputation: 31
Glad to hear that you fixed things on your own. Sorry i couldn't check in earlier and reply to your posts.

For future changes to any partitions do read about the following:

1) LILO or GRUB (or the bootloader of your choice). It needs to know which partition contains the OS in order to transfer control to it during the boot process.

2) /etc/fstab
http://www.tuxfiles.org/linuxhelp/fstab.html

3) /etc/mtab
http://www.brunolinux.com/02-The_Ter..._and_Mtab.html

Good luck
 
  


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
PC Will Not Re-Boot After Partitioning ejacka Linux - Software 2 10-05-2006 10:12 PM
Dual Boot Machine Fedora 5 / WinXP, XP messes up the IP addressing hferretluv Linux - Newbie 11 06-12-2006 11:47 PM
dual boot messes with clock linuxhippy Fedora 3 07-31-2005 10:08 PM
Partitioning...which one do I boot? dreamer_nights Slackware - Installation 5 06-13-2005 12:47 AM
partitioning for triple-boot groovepapa Linux - Newbie 1 03-11-2005 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 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