7

How to command fdisk actions to be in one single instructions?

view full story
linux-howto

http://askubuntu.com – For example: sam@sam:~$ sudo fdisk /dev/sdb [sudo] password for sam: Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0xb063e88f. 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) Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d (HowTos)