How do I get Linux cnc out of E-Stop?

More
8 years 11 months ago #102407 by royKO1405
Hi Andy
I am pleased that you couldn't do it, I was beginning to think that Linux had put a curse on me. I am new to coding; what is the command string to format my C drive?

Best regards

Roy

Please Log in to join the conversation.

More
8 years 11 months ago #102416 by andypugh
I just tried booting a VM from the liveCD. This seems to work.

1) Check what the HD is called, and make sure it is the right size.

Command
Code:
sudo fdisk -l
output
Code:
Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 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: 0x00000000 Disk /dev/sda doesn't contain a valid partition table

So that tells us that the disc is called "sda". Yours might be different.
Now format it
Command
Code:
sudo mkfs /dev/sda
output
Code:
mke2fs 1.42.5 (29-Jul-2012) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) y Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1310720 inodes, 5242880 blocks 262144 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 160 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 Allocating group tables: done Writing inode tables: done Writing superblocks and filesystem accounting information: done

Please Log in to join the conversation.

More
8 years 11 months ago #102418 by royKO1405
Thanks for the link Andy I will give it a try in the morning.

Please Log in to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum