1

In GParted, I'm trying to remove a partition that I'm not using (to make space for another operating system). The partition to remove is either dev/dev6 or dev/dev7. How can I view the contents of either partition (to make sure that I'm not accidentally deleting the wrong partition)?

I tried using the command cd /dev/sda6 to view the partition sda6, but then I got the following output: bash: cd: /dev/sda6: Not a directory. Is there another way to view the contents of a specific partition?

2 Answers2

2

(I for myself needed that option last week but I can't remember what software we were using.
It has the same ability. I think it was Paragon Partition Manager)

nixda
  • 27,268
  • With the current version of MiniTool (11.0.1), you don't need the bootable CD verison. You can download the desktop version and explore the partitions without restarting. Very handy for figuring out what your partitions are since there's so little guidance online for actually figuring them out. –  May 26 '19 at 20:11
1

GPartEd is made for dealing with partitions, not files. :)

Why not look at dev6 and dev7 in a terminal window instead of trying to do it in GPartEd?

More info on the terminal window included in the GPartEd LiveCD see the GPartEd documentation.

for info on navigating in Linux, check out:

  • How can I view the files in these partitions from the terminal window? – Anderson Green Dec 28 '12 at 22:54
  • See the link I edited in. If you are stuck, you may need to study up on some Linux basics like cd and ls. :) – Ƭᴇcʜιᴇ007 Dec 28 '12 at 22:57
  • The GParted documentation explains how to open a terminal window (and list the contents of a directory using the ls command), but I still want to know how to navigate to a specific partition and view its files. Would I simply use cd dev/sda6 to navigate to a specific partition, or would another command be necessary? – Anderson Green Dec 28 '12 at 22:58
  • I tried to navigate to dev/sda6 and I got the following output: bash: cd: dev/sda6: No such file or directory – Anderson Green Dec 28 '12 at 22:59
  • I used the command cd dev/sda6 and I couldn't get to the partition using that command. Is it possible to navigate to a specific partition this way, or should I use a different command? – Anderson Green Dec 28 '12 at 23:02
  • Try including the root slash: cd /dev/sda6. See my edit for a couple links that'll help you out. – Ƭᴇcʜιᴇ007 Dec 28 '12 at 23:04
  • I just tried that, and I got the following output: bash: cd: /dev/sda6: Not a directory. What should I do instead, since this command isn't working? – Anderson Green Dec 28 '12 at 23:06