How to identify and delete correct partitions in a linux/linux dual boot
Hello, linux newbie here. I have a dual boot of Ubuntu 10.04 LTS and Mepis 11.0 (I think?). Not going to be using that laptop anymore and want to put the drive into an external usb shell. Want to keep the Ubuntu, but delete the Mepis partitions to make room for use as a backup storage external drive. In gparted or any of the other partitioning programs, how do I figure out which partitions belong to which OS, so on and so forth. I don't want to guess and delete the wrong partition, naturally. Thanks for the help in advance.
|
:Pengy:
The naming convention starts at the motherboard. The port it is connected to determines the letter ( Port 1 -> A , Port 2 --> B and so on.) The partitions then work outward from there. /dev/sda1 (First Drive , First Partition) /dev/sda2 ( first drive , second partition ) /dev/sdb1 ( Second Drive , first partition ) With that said it sounds like all is on one physical disk. So your next step would be to go to the terminal and --> Code:
Take note of the mount points and FSTYPE. The OS drives are probably on EXT4 and mount point is / . The source column tells you the drive which you can manipulate with gparted or whatever program you decide to use. You may also see a Boot drive and a swap drive. You want to leave those alone. Hope this helps. |
Here's another way, in case your distro does not have findmnt (I looked for it and my Debian box does not include it and it doesn't seem to be in the repos):
When you boot into Ubuntu, run cat /etc/mtab. That will tell you what partitions are mounted. Unless you have configured your Ubuntu /etc/fstab to mount the Mepis parititions, they are likely by default not mounted. This could give you a hint identifying which partitions are which. To be thorough, you could boot into Mepis and repeat the test and compare the results. |
The bootinfoscript does a pretty good job of identifying installs - get it here if you don't have it already.
|
All times are GMT -5. The time now is 02:21 PM. |