Jump to content

Re-sizing partitions in Ubuntu

Go to solution Solved by Godlygamer23,

I figured it out. It was old kernel images. No I could not delete them manually. Someone on the Ubuntu forum suggested that the person with the same issue install Ubuntu Tweak Tool and then run Janitor. Did the trick. 

How do you re-size partitions in Ubuntu? I've tried using Gparted, but it won't lemme change anything. What's the problem? I'm running Ubuntu 13 currently. 

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to comment
https://linustechtips.com/topic/24672-re-sizing-partitions-in-ubuntu/
Share on other sites

Link to post
Share on other sites

Are you trying to resize the partitions while the system is running? Because that won't work

as far as I know. You need to boot from a live image (CD, DVD, USB) and resize the partitions

from there while they are offline.

Last time I did something like that I used System Rescue CD.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Are you trying to resize the partitions where ubuntu is installed?

If so you can't resize mounted partitions, you need to boot from gparted livecd and resize from there.

I can dismount the boot partition while the system is running. And then I'm technically allows to re-size the partition. But it won't let me. I'll do what Alpen suggested.

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

I can dismount the boot partition while the system is running. And then I'm technically allows to re-size the partition.

Hm, I've never tried that. Do you have any other partitions on the same drive which are still

mounted? Are you trying to make it larger or smaller? If you're trying to make it larger I'd

think the other partition which must be shrunk in order to make room for the larger boot

partition would also need to be offline.

In any case, SRCD has worked very well for me in the past, I can heartily recommend it.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Hm, I've never tried that. Do you have any other partitions on the same drive which are still

mounted? Are you trying to make it larger or smaller? If you're trying to make it larger I'd

think the other partition which must be shrunk in order to make room for the larger boot

partition would also need to be offline.

In any case, SRCD has worked very well for me in the past, I can heartily recommend it.

Yup. I'll have to re-size my main partition first. I'll post back my results. Currently downloading System Rescue CD. 

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Didn't work. Can't resize my main partition.

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Hm. Interesting. I've never had that problem.

How exactly is the drive partitioned, and are you using GPT or MBR?

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Hm. Interesting. I've never had that problem.

How exactly is the drive partitioned, and are you using GPT or MBR?

I'm not entirely sure. Gparted says the partition table is msdos. Which is odd.

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Msdos is MBR from what I've read. Maybe the MBR record is broken and you need to fix it first.

See here.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Msdos is MBR from what I've read. Maybe the MBR record is broken and you need to fix it first.

See here.

I took a look at that, but none of it seems to apply to my situation.

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Do you have a spare drive of at least the same capacity? Then you could dd the drive to

the spare and experiment around with it without having to touch (and potentially) ruin

your system drive.

Are you getting any error messages? Maybe check your dmesg to see what the kernel says

about the whole thing?

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Do you have a spare drive of at least the same capacity? Then you could dd the drive to

the spare and experiment around with it without having to touch (and potentially) ruin

your system drive.

Are you getting any error messages? Maybe check your dmesg to see what the kernel says

about the whole thing?

I have an external hard drive. But no extra internal based hard drive. Also, no error messages. I'll check it. Ordinarily, it wouldn't be a big deal that I can't do this, but my boot partition is too small to install anymore updates. 

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Yeah I'm familiar with that problem, I once had it myself. In the end I got too annoyed and

just did a re-install. Took me about two hours to get everything back to normal again.

What's eating up all that space on your boot partition? Old kernel images? Could you delete

them manually?

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

I figured it out. It was old kernel images. No I could not delete them manually. Someone on the Ubuntu forum suggested that the person with the same issue install Ubuntu Tweak Tool and then run Janitor. Did the trick. 

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

"I didn't die! I performed a tactical reset!" - Apollolol

Link to post
Share on other sites

Glad to hear. I'm a bit astonished that they can't be removed manually, but I'm not an expert

on this so there's probably a good reason. :)

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×