How to resize boot partition
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
Here's my problem. I'd like to reinstall Ubuntu. My laptop is an old HP Compaq nx7400. The optical drive went wrong, it can't read discs. I would use a USB port instead but the laptop won't boot from it. (It won't boot even if I set USB the first in the boot order in BIOS settings. Also on start up after pressing F9 to choose boot device USB won't appear in the list, only optical disk, netbook disk and network if I enable it.)
I wanted to resize the boot partiton to make space for the installation but I couldn't do that because it seems that the whole HDD is the boot partiton so it can't be unmounted using Gparted.
My partition system is the following:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e6661
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 486318079 243158016 83 Linux
/dev/sda2 486320126 488396799 1038337 5 Extended
/dev/sda5 486320128 488396799 1038336 82 Linux swap / Solaris
So how can I make a new partition to be able to install a "new" Ubuntu and get rid of the old one. Or any better solution for this problem?
I hope it's not a catch 22...
boot partitioning resize
add a comment |Â
up vote
0
down vote
favorite
Here's my problem. I'd like to reinstall Ubuntu. My laptop is an old HP Compaq nx7400. The optical drive went wrong, it can't read discs. I would use a USB port instead but the laptop won't boot from it. (It won't boot even if I set USB the first in the boot order in BIOS settings. Also on start up after pressing F9 to choose boot device USB won't appear in the list, only optical disk, netbook disk and network if I enable it.)
I wanted to resize the boot partiton to make space for the installation but I couldn't do that because it seems that the whole HDD is the boot partiton so it can't be unmounted using Gparted.
My partition system is the following:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e6661
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 486318079 243158016 83 Linux
/dev/sda2 486320126 488396799 1038337 5 Extended
/dev/sda5 486320128 488396799 1038336 82 Linux swap / Solaris
So how can I make a new partition to be able to install a "new" Ubuntu and get rid of the old one. Or any better solution for this problem?
I hope it's not a catch 22...
boot partitioning resize
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here's my problem. I'd like to reinstall Ubuntu. My laptop is an old HP Compaq nx7400. The optical drive went wrong, it can't read discs. I would use a USB port instead but the laptop won't boot from it. (It won't boot even if I set USB the first in the boot order in BIOS settings. Also on start up after pressing F9 to choose boot device USB won't appear in the list, only optical disk, netbook disk and network if I enable it.)
I wanted to resize the boot partiton to make space for the installation but I couldn't do that because it seems that the whole HDD is the boot partiton so it can't be unmounted using Gparted.
My partition system is the following:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e6661
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 486318079 243158016 83 Linux
/dev/sda2 486320126 488396799 1038337 5 Extended
/dev/sda5 486320128 488396799 1038336 82 Linux swap / Solaris
So how can I make a new partition to be able to install a "new" Ubuntu and get rid of the old one. Or any better solution for this problem?
I hope it's not a catch 22...
boot partitioning resize
Here's my problem. I'd like to reinstall Ubuntu. My laptop is an old HP Compaq nx7400. The optical drive went wrong, it can't read discs. I would use a USB port instead but the laptop won't boot from it. (It won't boot even if I set USB the first in the boot order in BIOS settings. Also on start up after pressing F9 to choose boot device USB won't appear in the list, only optical disk, netbook disk and network if I enable it.)
I wanted to resize the boot partiton to make space for the installation but I couldn't do that because it seems that the whole HDD is the boot partiton so it can't be unmounted using Gparted.
My partition system is the following:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e6661
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 486318079 243158016 83 Linux
/dev/sda2 486320126 488396799 1038337 5 Extended
/dev/sda5 486320128 488396799 1038336 82 Linux swap / Solaris
So how can I make a new partition to be able to install a "new" Ubuntu and get rid of the old one. Or any better solution for this problem?
I hope it's not a catch 22...
boot partitioning resize
edited Oct 15 '13 at 12:53
Braiam
49.8k20130213
49.8k20130213
asked Oct 15 '13 at 12:21
Attila
11
11
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22
add a comment |Â
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
You shouldn't have to repartition the disk just to reinstall Ubuntu. It seems like you just have one partition for Ubuntu, and one Swap partition in an extended partition, which is a standard partitioning scheme for an Ubuntu installation.
You could boot the Ubuntu iso from the Grub menu. When you boot from the iso file, you will be able to press a key upon boot to get to the Live boot menu. Add the toram
kernel option.
You will be able to choose whether you want to save programs or Home folder data or just erase everything and reinstall.
And importantly, make reliable backup before executing the procedure! Though nothing should go wrong if you ensure that you know what you're doing.
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy$HOME
to an external drive.
â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
add a comment |Â
up vote
0
down vote
There are 2 parts to this:
Open a terminal and run ls /boot If boot is full of old kernels you can go remove happy on them, I recommend keeping the original, the latest and the one before latest. the lowest number is normally the shipping kernel, the highest number will be the latest.
To grow boot you first need to shrink another partition so you have free space. I would suggest using the gparted tool on the live cd to do this. First decrease the size of/ or /home depending on your setup. Then increase the size of boot.
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
You shouldn't have to repartition the disk just to reinstall Ubuntu. It seems like you just have one partition for Ubuntu, and one Swap partition in an extended partition, which is a standard partitioning scheme for an Ubuntu installation.
You could boot the Ubuntu iso from the Grub menu. When you boot from the iso file, you will be able to press a key upon boot to get to the Live boot menu. Add the toram
kernel option.
You will be able to choose whether you want to save programs or Home folder data or just erase everything and reinstall.
And importantly, make reliable backup before executing the procedure! Though nothing should go wrong if you ensure that you know what you're doing.
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy$HOME
to an external drive.
â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
add a comment |Â
up vote
4
down vote
You shouldn't have to repartition the disk just to reinstall Ubuntu. It seems like you just have one partition for Ubuntu, and one Swap partition in an extended partition, which is a standard partitioning scheme for an Ubuntu installation.
You could boot the Ubuntu iso from the Grub menu. When you boot from the iso file, you will be able to press a key upon boot to get to the Live boot menu. Add the toram
kernel option.
You will be able to choose whether you want to save programs or Home folder data or just erase everything and reinstall.
And importantly, make reliable backup before executing the procedure! Though nothing should go wrong if you ensure that you know what you're doing.
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy$HOME
to an external drive.
â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
add a comment |Â
up vote
4
down vote
up vote
4
down vote
You shouldn't have to repartition the disk just to reinstall Ubuntu. It seems like you just have one partition for Ubuntu, and one Swap partition in an extended partition, which is a standard partitioning scheme for an Ubuntu installation.
You could boot the Ubuntu iso from the Grub menu. When you boot from the iso file, you will be able to press a key upon boot to get to the Live boot menu. Add the toram
kernel option.
You will be able to choose whether you want to save programs or Home folder data or just erase everything and reinstall.
And importantly, make reliable backup before executing the procedure! Though nothing should go wrong if you ensure that you know what you're doing.
You shouldn't have to repartition the disk just to reinstall Ubuntu. It seems like you just have one partition for Ubuntu, and one Swap partition in an extended partition, which is a standard partitioning scheme for an Ubuntu installation.
You could boot the Ubuntu iso from the Grub menu. When you boot from the iso file, you will be able to press a key upon boot to get to the Live boot menu. Add the toram
kernel option.
You will be able to choose whether you want to save programs or Home folder data or just erase everything and reinstall.
And importantly, make reliable backup before executing the procedure! Though nothing should go wrong if you ensure that you know what you're doing.
edited Oct 15 '13 at 17:30
answered Oct 15 '13 at 12:43
![](https://i.stack.imgur.com/bfZ4q.jpg?s=32&g=1)
![](https://i.stack.imgur.com/bfZ4q.jpg?s=32&g=1)
Richard
5,93383364
5,93383364
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy$HOME
to an external drive.
â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
add a comment |Â
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy$HOME
to an external drive.
â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy
$HOME
to an external drive.â David Foerster
Oct 15 '13 at 12:45
Unfortunately OP has no working optical drive and can't boot from USB. In this situation I don't think there is a way, that doesn't require to copy
$HOME
to an external drive.â David Foerster
Oct 15 '13 at 12:45
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
Thank you David! Could you elaborate on the steps?
â Attila
Oct 15 '13 at 12:52
1
1
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
Follow the linked instructions for booting the iso image off the hard drive. Add the "toram" option to the kernel arguments and it will load the whole system into ram so the hd can be unmounted.
â psusi
Oct 15 '13 at 13:51
1
1
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
Suggest backing up $HOME to an external drive first, though. After you boot with your current OS, can you plug in a USB drive and see it mount? If so, then copy the contents of $HOME and everything below it, for safety's sake.
â K7AAY
Oct 15 '13 at 16:07
add a comment |Â
up vote
0
down vote
There are 2 parts to this:
Open a terminal and run ls /boot If boot is full of old kernels you can go remove happy on them, I recommend keeping the original, the latest and the one before latest. the lowest number is normally the shipping kernel, the highest number will be the latest.
To grow boot you first need to shrink another partition so you have free space. I would suggest using the gparted tool on the live cd to do this. First decrease the size of/ or /home depending on your setup. Then increase the size of boot.
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
add a comment |Â
up vote
0
down vote
There are 2 parts to this:
Open a terminal and run ls /boot If boot is full of old kernels you can go remove happy on them, I recommend keeping the original, the latest and the one before latest. the lowest number is normally the shipping kernel, the highest number will be the latest.
To grow boot you first need to shrink another partition so you have free space. I would suggest using the gparted tool on the live cd to do this. First decrease the size of/ or /home depending on your setup. Then increase the size of boot.
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
add a comment |Â
up vote
0
down vote
up vote
0
down vote
There are 2 parts to this:
Open a terminal and run ls /boot If boot is full of old kernels you can go remove happy on them, I recommend keeping the original, the latest and the one before latest. the lowest number is normally the shipping kernel, the highest number will be the latest.
To grow boot you first need to shrink another partition so you have free space. I would suggest using the gparted tool on the live cd to do this. First decrease the size of/ or /home depending on your setup. Then increase the size of boot.
There are 2 parts to this:
Open a terminal and run ls /boot If boot is full of old kernels you can go remove happy on them, I recommend keeping the original, the latest and the one before latest. the lowest number is normally the shipping kernel, the highest number will be the latest.
To grow boot you first need to shrink another partition so you have free space. I would suggest using the gparted tool on the live cd to do this. First decrease the size of/ or /home depending on your setup. Then increase the size of boot.
answered Oct 15 '13 at 13:07
agnostic
1
1
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
add a comment |Â
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
1
1
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
The question is how to reduce the size of the root partition, and he said he can't boot from cd.
â psusi
Oct 15 '13 at 13:49
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f359377%2fhow-to-resize-boot-partition%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What's the problem with upgrading?
â Braiam
Oct 15 '13 at 13:09
possible duplicate of How do I free up more space in /boot?
â Panther
Oct 15 '13 at 17:06
This is NOT a duplicate of how to free up more space in /boot.
â psusi
Oct 17 '13 at 3:22