Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Expanding SSD partition.
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Expanding SSD partition.
27th Sep, 2018, 03:23 AM
Post: #4
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Expanding SSD partition.
Thanks for the pointers. A lot of instructions were for pure raspbian with desktop available, not much use for my set up.

(27th Sep, 2018 02:07 AM)Nachteule Wrote:  1) A fdisk -l of your ssd would help

Here it is Smile

Code:
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0xb3e3634e

Device         Boot    Start      End  Sectors   Size Id Type
/dev/mmcblk0p1 *        2048   141311   139264    68M  b W95 FAT32
/dev/mmcblk0p2        141312 30614527 30473216  14.5G 83 Linux
/dev/mmcblk0p3      30615552 31116287   500736 244.5M 82 Linux swap / Solaris


Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0x0999c332

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1             63 29743294 29743232 14.2G  c W95 FAT32 (LBA)
/dev/sda2       29752380 30254139   501760  245M 82 Linux swap / Solaris


Disk /dev/zram0: 128 MiB, 134217728 bytes, 32768 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
(27th Sep, 2018 02:07 AM)Nachteule Wrote:  2) You have to resize partition first. I'm preferring fdisk, so you have to remove existing partition first and then create it again. VERY IMPORTANT: This partition must start a the SAME position. After you did this, save new partition table and reboot

OK - I saw some stuff about this but wasn't too sure it would be OK with Xbian. I'll take another look.
With Easeus Partition Manager I couldn't expand the partition at all (works for ntfs a treat though) - So I have an option to format the drive with fat32/ext2/ext3/ntfs/ - But to clone the partition from usb stick to ssd it needs an unformated partition to write to. I guess it's easy when you know, but not when you don't.
So if I get the ssd into one big unallocated state using the full size, create a partition on that (but then what about the swap partiton, how will that be affected?)....Hmmm....

(27th Sep, 2018 02:07 AM)Nachteule Wrote:  3) after reboot, you have to resize filesystem by running sudo btrfs filesystem resize max /

Ah, yes, btrfs.... None of the tutorials I saw mentioned this, so just as well I asked here first Wink - But can't I just do that anyway? Ah, maybe not as the fs is limited to the copied size and the rest is unallocated.
I think I need to sleep on this before I do something bad. Wink

Thank you for the info, I'll let you know how it goes.....
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Expanding SSD partition. - Skywatch - 26th Sep, 2018, 11:42 PM
RE: Expanding SSD partition. - Nachteule - 27th Sep, 2018, 02:07 AM
RE: Expanding SSD partition. - Skywatch - 27th Sep, 2018 03:23 AM
RE: Expanding SSD partition. - Nachteule - 27th Sep, 2018, 03:05 AM
RE: Expanding SSD partition. - Nachteule - 27th Sep, 2018, 03:33 AM
RE: Expanding SSD partition. - Skywatch - 27th Sep, 2018, 06:42 AM
RE: Expanding SSD partition. - Nachteule - 27th Sep, 2018, 07:04 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  partition usb to boot from and store movies on other partition, possible?? Pete Garza 10 25,811 10th Feb, 2015 08:07 PM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th Jun, 2025, 12:07 AM Powered By MyBB, © 2002-2025 MyBB Group.