Extend /dev/sdb3 partition
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to clone my linux usb live persistence from 32GB drive to 64 GB drive. After I clone it, there are some unallocated space (32GB). I have done some research but I still cannot figure it out. Below are the things that I tried.
I booted from the old USB and use cfdisk to check the partition
It says that there are unallocated free 32GB on my new USB drive so I used resize to resize the /dev/sdb3 from 20 GB to 54.3G as shown .
Disk: /dev/sdb
Size: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Label: dos, identifier: 0x0e390ebe
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
when I use fdisk -l to check the partition it tells me it has 54.3GB in the partition
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
But when I use df-h
it showed me that my /dev/sdb3 is still 26GB
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 785M 11M 775M 2% /run
/dev/sdb1 3.0G 3.0G 0 100% /run/live/persistence/sdb1
/dev/loop0 2.8G 2.8G 0 100% /run/live/rootfs/filesystem.squashfs
tmpfs 3.9G 0 3.9G 0% /run/live/overlay
/dev/sdb3 26G 18G 6.9G 72% /run/live/persistence/sdb3
overlay 26G 18G 6.9G 72% /
tmpfs 3.9G 48M 3.8G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 324K 3.9G 1% /tmp
tmpfs 785M 48K 785M 1% /run/user/0
/dev/sdb2 684K 670K 14K 98% /media/root/Kali Live
I also tried using GPartedbut it doesn't help.
What can I do to extend the OS partition but not just the USB partition?
linux partition
add a comment |
I am trying to clone my linux usb live persistence from 32GB drive to 64 GB drive. After I clone it, there are some unallocated space (32GB). I have done some research but I still cannot figure it out. Below are the things that I tried.
I booted from the old USB and use cfdisk to check the partition
It says that there are unallocated free 32GB on my new USB drive so I used resize to resize the /dev/sdb3 from 20 GB to 54.3G as shown .
Disk: /dev/sdb
Size: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Label: dos, identifier: 0x0e390ebe
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
when I use fdisk -l to check the partition it tells me it has 54.3GB in the partition
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
But when I use df-h
it showed me that my /dev/sdb3 is still 26GB
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 785M 11M 775M 2% /run
/dev/sdb1 3.0G 3.0G 0 100% /run/live/persistence/sdb1
/dev/loop0 2.8G 2.8G 0 100% /run/live/rootfs/filesystem.squashfs
tmpfs 3.9G 0 3.9G 0% /run/live/overlay
/dev/sdb3 26G 18G 6.9G 72% /run/live/persistence/sdb3
overlay 26G 18G 6.9G 72% /
tmpfs 3.9G 48M 3.8G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 324K 3.9G 1% /tmp
tmpfs 785M 48K 785M 1% /run/user/0
/dev/sdb2 684K 670K 14K 98% /media/root/Kali Live
I also tried using GPartedbut it doesn't help.
What can I do to extend the OS partition but not just the USB partition?
linux partition
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10
add a comment |
I am trying to clone my linux usb live persistence from 32GB drive to 64 GB drive. After I clone it, there are some unallocated space (32GB). I have done some research but I still cannot figure it out. Below are the things that I tried.
I booted from the old USB and use cfdisk to check the partition
It says that there are unallocated free 32GB on my new USB drive so I used resize to resize the /dev/sdb3 from 20 GB to 54.3G as shown .
Disk: /dev/sdb
Size: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Label: dos, identifier: 0x0e390ebe
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
when I use fdisk -l to check the partition it tells me it has 54.3GB in the partition
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
But when I use df-h
it showed me that my /dev/sdb3 is still 26GB
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 785M 11M 775M 2% /run
/dev/sdb1 3.0G 3.0G 0 100% /run/live/persistence/sdb1
/dev/loop0 2.8G 2.8G 0 100% /run/live/rootfs/filesystem.squashfs
tmpfs 3.9G 0 3.9G 0% /run/live/overlay
/dev/sdb3 26G 18G 6.9G 72% /run/live/persistence/sdb3
overlay 26G 18G 6.9G 72% /
tmpfs 3.9G 48M 3.8G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 324K 3.9G 1% /tmp
tmpfs 785M 48K 785M 1% /run/user/0
/dev/sdb2 684K 670K 14K 98% /media/root/Kali Live
I also tried using GPartedbut it doesn't help.
What can I do to extend the OS partition but not just the USB partition?
linux partition
I am trying to clone my linux usb live persistence from 32GB drive to 64 GB drive. After I clone it, there are some unallocated space (32GB). I have done some research but I still cannot figure it out. Below are the things that I tried.
I booted from the old USB and use cfdisk to check the partition
It says that there are unallocated free 32GB on my new USB drive so I used resize to resize the /dev/sdb3 from 20 GB to 54.3G as shown .
Disk: /dev/sdb
Size: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Label: dos, identifier: 0x0e390ebe
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
when I use fdisk -l to check the partition it tells me it has 54.3GB in the partition
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 6279167 6279104 3G 17 Hidden HPFS/NTFS
/dev/sdb2 6279168 6280575 1408 704K 1 FAT12
/dev/sdb3 6281216 120127487 113846272 54.3G 83 Linux
But when I use df-h
it showed me that my /dev/sdb3 is still 26GB
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 785M 11M 775M 2% /run
/dev/sdb1 3.0G 3.0G 0 100% /run/live/persistence/sdb1
/dev/loop0 2.8G 2.8G 0 100% /run/live/rootfs/filesystem.squashfs
tmpfs 3.9G 0 3.9G 0% /run/live/overlay
/dev/sdb3 26G 18G 6.9G 72% /run/live/persistence/sdb3
overlay 26G 18G 6.9G 72% /
tmpfs 3.9G 48M 3.8G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 324K 3.9G 1% /tmp
tmpfs 785M 48K 785M 1% /run/user/0
/dev/sdb2 684K 670K 14K 98% /media/root/Kali Live
I also tried using GPartedbut it doesn't help.
What can I do to extend the OS partition but not just the USB partition?
linux partition
linux partition
edited Apr 4 at 9:38
Rui F Ribeiro
42.1k1483142
42.1k1483142
asked Mar 16 at 18:39
Lau Chok YipLau Chok Yip
368
368
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10
add a comment |
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10
add a comment |
1 Answer
1
active
oldest
votes
It sounds like you extended/increased the size of the partition but did not notify the filesystem that there was more space for it to use.
xfs_growfs
or xfs_admin
with the right flags should let you inform the filesystem that it can grow to fill the additional space.
This sort of thing can be tricky on a liveOS booting from a USB. It is often easier to install the liveOS fresh on the new device and copy your data over.
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506708%2fextend-dev-sdb3-partition%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It sounds like you extended/increased the size of the partition but did not notify the filesystem that there was more space for it to use.
xfs_growfs
or xfs_admin
with the right flags should let you inform the filesystem that it can grow to fill the additional space.
This sort of thing can be tricky on a liveOS booting from a USB. It is often easier to install the liveOS fresh on the new device and copy your data over.
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
add a comment |
It sounds like you extended/increased the size of the partition but did not notify the filesystem that there was more space for it to use.
xfs_growfs
or xfs_admin
with the right flags should let you inform the filesystem that it can grow to fill the additional space.
This sort of thing can be tricky on a liveOS booting from a USB. It is often easier to install the liveOS fresh on the new device and copy your data over.
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
add a comment |
It sounds like you extended/increased the size of the partition but did not notify the filesystem that there was more space for it to use.
xfs_growfs
or xfs_admin
with the right flags should let you inform the filesystem that it can grow to fill the additional space.
This sort of thing can be tricky on a liveOS booting from a USB. It is often easier to install the liveOS fresh on the new device and copy your data over.
It sounds like you extended/increased the size of the partition but did not notify the filesystem that there was more space for it to use.
xfs_growfs
or xfs_admin
with the right flags should let you inform the filesystem that it can grow to fill the additional space.
This sort of thing can be tricky on a liveOS booting from a USB. It is often easier to install the liveOS fresh on the new device and copy your data over.
answered Mar 16 at 18:50
0xSheepdog0xSheepdog
1,71911025
1,71911025
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
add a comment |
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
how can I copy my data over to new device? By using dd?
– Lau Chok Yip
Mar 16 at 19:20
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
@LauChokYip that is a different question.
– ctrl-alt-delor
Mar 17 at 13:37
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506708%2fextend-dev-sdb3-partition%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It looks like you increased the size of the partition, but not the file-system (that is in the partition).
– ctrl-alt-delor
Mar 16 at 19:02
Please paste text as text (not as pictures), it is easier to read that way (not just for blind people). And Why kali? Kali is hard to use (much like a swiss army chain-saw). kali has one purpose, and this is not it. You say you are new to Gnu/Linux, therefore kali is not for you. Chose an easier distro such as Debian.
– ctrl-alt-delor
Mar 16 at 19:02
@ctrl-alt-delor Thanks for your suggestions, I will improve next time!
– Lau Chok Yip
Mar 16 at 19:10