I read this doc of gparted to recover from booting issues when a partition is moved.
To test the command grub on gparted terminal, I want to open the terminal but not finding a way from my Ubuntu 13.04.
When I run sudo gparted & on my shell terminal, it opens GUI and so I can't test the commands. How to open the terminal?
Asked
Active
Viewed 3.1e+01k times
26
Nicholas Saunders
- 1,484
Ravi
- 493
2 Answers
37
Why not? Yes There was, it's parted. you can use it in terminal. just install Gparted with following the command and then use it in terminal by running parted
sudo apt-get install gparted
GParted is a graphical (plus) front end to the libparted library used by the Parted project. If you want to use the command line then use parted instead (note: no g in front of name).
just use sudo parted to start it.
Here is all list of command in parted:
$ sudo parted
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
align-check TYPE N check partition N for TYPE(min|opt) alignment
check NUMBER do a simple check on the file system
cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another partition
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkfs NUMBER FS-TYPE make a FS-TYPE file system on partition NUMBER
mkpart PART-TYPE [FS-TYPE] START END make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a file system
resizepart NUMBER END resize partition NUMBER
move NUMBER START END move partition NUMBER
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all found partitions, or a particular partition
quit exit program
rescue START END rescue a lost partition near START and END
resize NUMBER START END resize partition NUMBER and its file system
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
(parted)
αғsнιη
- 36,350
3
Those instructions are telling you to open a terminal and use the grub console.
GParted doesn't have its own terminal or console mode.
Oli
- 299,380