KrishnaPavan

Regarding the Partition on the SD Card

Discussion created by KrishnaPavan on Oct 20, 2011
Latest reply on Oct 20, 2011 by Daiane Angolini

user@ACN:~/ltib/ltib/rootfs/boot$ sudo fdisk /dev/sdb

 

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x5d2fa167.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): u
Changing display/entry units to sectors

Command (m for help): d
No partition is defined yet!

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First sector (62-7744511, default 62): 8192
Last sector, +sectors or +size{K,M,G} (8192-7744511, default 7744511):
Using default value 7744511

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.

 

Highlighted lines are those where I need some inferences

Outcomes