Can move unallocated space to my linux partition , urgent

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite

That's the condition of my disks seen from live ubuntu cd.
On /dev/sd8 my ubuntu os is Installed
On /dev/sd1 windows 7 is Installed.
And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.
I tried solutions mentioned in internet but i couldn't figure out how to do it.
dual-boot partitioning gparted ubuntu-one unallocated
add a comment |Â
up vote
0
down vote
favorite

That's the condition of my disks seen from live ubuntu cd.
On /dev/sd8 my ubuntu os is Installed
On /dev/sd1 windows 7 is Installed.
And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.
I tried solutions mentioned in internet but i couldn't figure out how to do it.
dual-boot partitioning gparted ubuntu-one unallocated
1
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You couldmoveswap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
â guiverc
Mar 15 at 9:06
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite

That's the condition of my disks seen from live ubuntu cd.
On /dev/sd8 my ubuntu os is Installed
On /dev/sd1 windows 7 is Installed.
And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.
I tried solutions mentioned in internet but i couldn't figure out how to do it.
dual-boot partitioning gparted ubuntu-one unallocated

That's the condition of my disks seen from live ubuntu cd.
On /dev/sd8 my ubuntu os is Installed
On /dev/sd1 windows 7 is Installed.
And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.
I tried solutions mentioned in internet but i couldn't figure out how to do it.
dual-boot partitioning gparted ubuntu-one unallocated
dual-boot partitioning gparted ubuntu-one unallocated
edited Mar 15 at 8:46
asked Mar 15 at 8:41
Palash Bauri
69116
69116
1
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You couldmoveswap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
â guiverc
Mar 15 at 9:06
add a comment |Â
1
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You couldmoveswap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
â guiverc
Mar 15 at 9:06
1
1
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could
move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)â guiverc
Mar 15 at 9:06
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could
move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)â guiverc
Mar 15 at 9:06
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.
There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:
$ sudo swapoff
An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.
Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.
There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:
$ sudo swapoff
An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.
Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
 |Â
show 2 more comments
up vote
1
down vote
accepted
This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.
There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:
$ sudo swapoff
An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.
Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
 |Â
show 2 more comments
up vote
1
down vote
accepted
up vote
1
down vote
accepted
This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.
There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:
$ sudo swapoff
An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.
Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.
This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.
There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:
$ sudo swapoff
An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.
Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.
edited Mar 15 at 11:47
answered Mar 15 at 9:41
Simon Sudler
960111
960111
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
 |Â
show 2 more comments
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
If i delete swap partition, what problems it will cause?
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
My computer is 32bit with 2GB ram
â Palash Bauri
Mar 15 at 10:00
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
None as long as you don't start Firefox or LibreOffice.
â Barafu Albino
Mar 15 at 11:28
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
â Simon Sudler
Mar 15 at 11:43
1
1
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/â¦
â Palash Bauri
Mar 15 at 13:51
 |Â
show 2 more comments
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%2f1015087%2fcan-move-unallocated-space-to-my-linux-partition-urgent%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
1
Then all my installed programs will be removed!
â Palash Bauri
Mar 15 at 8:56
I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) âÂÂ
â guiverc
Mar 15 at 9:05
Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could
moveswap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)â guiverc
Mar 15 at 9:06