Dear all

Did I mentioned that I got my Pi few days ago and immediately installed
Redsleeve!?!  Both Pi and Redsleeve are AWESOME!  ;-)

Before I digress - I installed Redsleeve on a 4GB SDHC Card.  The default
installation which I followed using instructions here -
http://wiki.redsleeve.org/index.php/Install_Rasperry_Pi - works perfectly,
but left free space available on the SD Card.

Being too lazy to plug in the SD Card onto a another Linux-based machine, I
simply deleted the /dev/mmcblk0p2 partition from inside the live Pi system
itself!

After deleting it, I recreated the partition, making full use of the whole
free space available. After writing the table and quiting fdisk, the only
error I encountered are as below -

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
4 heads, 16 sectors/track, 121008 cylinders, total 7744512 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: 0x000ee283

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048      264191      131072    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          264192     7744511     3740160   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or
resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
[root@raspberrypi ~]# shutdown -r now

As shown above. I immediately rebooted the machine and the first thing I
did was to execute the command "resize2fs /dev/mmcblk0p2".

I would like to report, the partition resize excercise completes
successfully!  Woohoo!

Hope someone find this useful.


Sincere regards and thanks!

Maulvi
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to