Sigh
Obviously, I'm not getting this... o create a new empty DOS partition table > p print the partition table > q quit without saving changes > s create a new empty Sun disklabel > t change a partition's system id > u change display/entry units > v verify the partition table > w write table to disk and exit > x extra functionality (experts only) -sh: syntax error: unexpected "(" (expecting "do") tc@piCorePlayer:~$ tc@piCorePlayer:~$ Command (m for help): d -sh: syntax error: unexpected word (expecting ")") tc@piCorePlayer:~$ No partition is defined yet! -sh: No: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Command (m for help): w -sh: syntax error: unexpected word (expecting ")") tc@piCorePlayer:~$ The partition table has been altered. -sh: The: not found tc@piCorePlayer:~$ Calling ioctl() to re-read partition table -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ fdisk: WARNING: rereading partition table failed, kernel still uses old table: I nvalid argume nt -sh: fdisk:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -l -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ Disk /dev/mmcblk0: 461 GB, 494927872000 bytes, 966656000 sectors -sh: Disk: not found tc@piCorePlayer:~$ 15104000 cylinders, 4 heads, 16 sectors/track -sh: 15104000: not found tc@piCorePlayer:~$ Units: sectors of 1 * 512 = 512 bytes -sh: Units:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type -sh: Device: not found tc@piCorePlayer:~$ /dev/mmcblk0p1 128,0,1 127,3,16 8192 73727 65536 32.0M c Win95 FAT 32 (LBA) -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ /dev/mmcblk0p2 1023,3,16 1023,3,16 73728 4169727 4096000 2000M 83 Linux -sh: /dev/mmcblk0p2: Permission denied tc@piCorePlayer:~$ tc@piCorePlayer:~$ fdisk /dev/mmcblk -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ fdisk: can't open '/dev/mmcblk' > tc@piCorePlayer:~$ sudo fdisk mmcblk0p2 > fdisk: can't open 'mmcblk0p2' -sh: fdisk:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -l -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ Disk /dev/mmcblk0: 461 GB, 494927872000 bytes, 966656000 sectors -sh: Disk: not found tc@piCorePlayer:~$ 15104000 cylinders, 4 heads, 16 sectors/track -sh: 15104000: not found tc@piCorePlayer:~$ Units: sectors of 1 * 512 = 512 bytes -sh: Units:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type -sh: Device: not found tc@piCorePlayer:~$ /dev/mmcblk0p1 128,0,1 127,3,16 8192 73727 65536 32.0M c Win95 FAT 32 (LBA) -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ /dev/mmcblk0p2 1023,3,16 1023,3,16 73728 4169727 4096000 2000M 83 Linux -sh: /dev/mmcblk0p2: Permission denied tc@piCorePlayer:~$ tc@piCorePlayer:~$ lsblk -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ -sh: lsblk: not found -sh: -sh:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo lsblk -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ sudo: lsblk: command not found -sh: sudo:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -l /devmmcblk2 -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ fdisk: can't open '/devmmcblk2': No such file or directory > tc@piCorePlayer:~$ sudo fdisk -l /dev/mmcblk2 > fdisk: can't open '/dev/mmcblk2': No such file or directory -sh: fdisk:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -l /dev/mmcblk0p2 -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ Disk /dev/mmcblk0p2: 2000 MB, 2097152000 bytes, 4096000 sectors -sh: Disk: not found tc@piCorePlayer:~$ 64000 cylinders, 4 heads, 16 sectors/track -sh: 64000: not found tc@piCorePlayer:~$ Units: sectors of 1 * 512 = 512 bytes -sh: Units:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Si ze Id Type -sh: Device: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ unmount /dev/mmcblk2 -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ -sh: unmount: not found -sh: -sh:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo parted /dev/mmcblk0 -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ sudo: parted: command not found -sh: sudo:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ BusyBox v1.29.3 (2018-09-21 20:17:07 UTC) multi-call binary. -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ tc@piCorePlayer:~$ Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK -sh: Usage:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Change partition table -sh: Change: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ -u Start and End are in sectors (instead of cylinders) -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ -l Show partition table for each DISK, then exit -sh: -l: not found tc@piCorePlayer:~$ -b 2048 (for certain MO disks) use 2048-byte sectors -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ -C CYLINDERS Set number of cylinders/heads/sectors -sh: -C: not found tc@piCorePlayer:~$ -H HEADS Typically 255 -sh: -H: not found tc@piCorePlayer:~$ -S SECTORS Typically 63 -sh: -S: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ sudo fdisk -l -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ Disk /dev/mmcblk0: 461 GB, 494927872000 bytes, 966656000 sectors -sh: Disk: not found tc@piCorePlayer:~$ 15104000 cylinders, 4 heads, 16 sectors/track -sh: 15104000: not found tc@piCorePlayer:~$ Units: sectors of 1 * 512 = 512 bytes -sh: Units:: not found tc@piCorePlayer:~$ tc@piCorePlayer:~$ Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type -sh: Device: not found tc@piCorePlayer:~$ /dev/mmcblk0p1 128,0,1 127,3,16 8192 73727 65536 32.0M c Win95 FAT32 (LBA) -sh: syntax error: unexpected "(" tc@piCorePlayer:~$ /dev/mmcblk0p2 1023,3,16 1023,3,16 73728 4169727 4096000 2000M 83 Linux -sh: /dev/mmcblk0p2: Permission denied tc@piCorePlayer:~$ tc@piCorePlayer:~$ -sh: tc@piCorePlayer:~$: not found tc@piCorePlayer:~$ ^C tc@piCorePlayer:~$ ------------------------------------------------------------------------ AirFiero's Profile: http://forums.slimdevices.com/member.php?userid=69090 View this thread: http://forums.slimdevices.com/showthread.php?t=106833 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix