Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-24-2009, 12:11 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
Strange Partitioning and Grub?

Hello all,

I have quite a strange hard drive set up, and I'm having trouble successfully getting things how I like them. I originally had Ubuntu 8.10...which means that I have a / partition, a /home partition and a swap partition...ok no big deal. For some time I have also had all of my music and such on a ntfs partition so it wouldn't really matter if I wanted ubuntu or windows, and then ubuntu 9.04 was finally released today...I have been saving some unpartitioned space on my drive for just this occasion (don't ask me why I've been so pumped about it) so now I have another 2 partitions (a / and a swap). here is what my hard drive looks like

Hard Drive (sda) 232.88GiB

sda1 linux-swap 3.73GiB (Ubuntu 8.10)
sda2 Extended
sda5 ext3 13.97GiB / (Ubuntu 8.10)
sda6 ext3 65.19GiB /home (Ubuntu 8.10)
sda7 ext3 70.99GiB (Ubuntu 9.04)
sda8 linux-swap 3.06GiB (Ubuntu 9.04)
sda4 ntfs 75.95GiB Media

ok ok, I really is in horrible shape. the Ubuntu 9.04 really isn't working out too well with my intel graphics driver and I'm actually pretty happy with the 8.10 setup that I I would like to get rid of the 9.04 and revert back to the 8.10. The problem I keep having is that if I uninstall 9.04 then my GRUB stops working...and I can't boot. I really want to format sda7 and sda8 and then resize my ntfs partition to accommodate the extra space...all while having GRUB continue to book my there any hope or should I just format everything except the ntfs and start over??

sorry about the horribly long back story...and thanks in advance
Old 04-24-2009, 12:22 AM   #2
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
No you certainly don't have to format the whole thing.

You reinstall grub from one of the installations that you want to keep (note, you should make sure that you overwrite the MBR). Once you do this you can clean out the 9.04 volumes.

One more thing, you don't need multiple swap volumes. You can use the same swap for all the installation on your box, so you clean out one of the swap partitions as well.

One important point is to make sure that /etc/fstab reflects all the changes, before you reboot into the new system.
Old 04-24-2009, 12:47 AM   #3
LQ Newbie
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
good man libu...your help was much appreciated. After a little cleaning house things are as good as new...the only problem that I ran into was resizing the ntfs's being a pain so I just created a fat32, copied it over and then resized the fat32...but its not really a big deal...same difference. thanks again

Last edited by sabroo2; 04-24-2009 at 12:50 AM.
Old 04-24-2009, 12:51 AM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,918

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Use the Ubuntu CD and run command:
sudo grub (at the grub prompt type)
root (hd0,4)
setup (hd0)

You may be able to resize your windows partition after deleting sda7 and sda8. Post the output of 'sudo fdisk -l' to get detailed instructions.
Old 04-24-2009, 12:53 AM   #5
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
Thats good .

FYI: Check this out.

Its awesome and you can resize ntfs partitions as well. It always saved my ass, when I used to run a dual boot system with windows XP .
Old 04-24-2009, 12:55 AM   #6
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,928

Rep: Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865
From either of the Ubuntu try this
sudo grub
root (hd0,4)
setup (hd0)
Whether you can easil;y redistribute the space depends - let's see the output from "sudo fdisk -l"

Edit: - too late ... and not just me ...

Last edited by syg00; 04-24-2009 at 12:56 AM.


formating, grub, ntfs, partition

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
Grub gone after partitioning one of the linux partition(URGENT !!!!!!!!!!!!!) decodedthought Linux - General 5 04-17-2009 10:37 AM
grub does not like my partitioning: Error 2 Scandaglio Linux - Newbie 6 09-20-2008 04:57 AM
Grub & partitioning Necromuru Linux - Software 1 12-22-2007 02:10 PM
grub missing.. -or bad partitioning? MrFixit Linux - General 11 08-29-2007 03:27 AM
Question about Partitioning and GRUB blueobsession Linux - General 6 06-13-2007 01:47 PM

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

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