If you've got any files under
MusicPictures, you need to delete them first. The rmdir command only deletes empty directories.
Here's example from "
live" LL, mounting the DATA partition at
/myData in live environment. Lines with "#" are just describing the command that follows.
Code:
# Make mount point for DATA partition
sudo mkdir /myData
# Mount it to the new mount point
sudo mount /dev/sdXY /myData
At that point, if you prefer, you can use your gui file manager (Thunar). Just open it up, then navigate to root of file system. You'll see "myDATA" as one of the folders under root (/). Right-click it and choose "Open folder as Root". If you haven't already done so, make two new folders for
Music and
Pictures. Open
MusicPictures and copy/paste files into the appropriate new
Music or
Pictures folder if you need to. Then go back one directory level so you see
MusicPictures folder itself (not what's in it). Right-click it and choose "Delete". (You can do that even if you don't move stuff out of the folder.)
Using the terminal, if you wanted to remove a directory that had files in it, you'd use this command with the "r" option to "recursively" remove the files within it too:
Code:
rm -r /myData/MusicPictures
If that didn't work, you can add the "f" option to "force" removal.
Code:
rm -rf /myData/MusicPictures
Add your new folders if needed.
Code:
sudo mkdir /myData/{Music,Pictures} # No spaces between Music and Pictures
Try booting into the installed system again.
If it works, you will need to change ownership of those new Music and Pictures folders from Root to your username. Easiest thing to do is run the command to recursively change ownership of everything in the DATA partition to your username. (Note: because you're back in the installed system, the mount point is back to what you set it for in the installed system. It's not the same mount point you used in the "live" LL.)
Code:
sudo chown -R username: /mnt/DATA # Use real username in place of "username"
If it did not boot, follow procedure I outlined in last post for booting into the
"live" LL disk, run those commands and post the output back here.
Make sure to follow command instructions I edited into that post later
specifically for when you're running from the "live" environment. (My original instructions were written assuming you were in the installed system, before I remembered that you said you couldn't boot into it now. The EDIT I added has the live instructions.) That's why you got the miscellaneous looking info from "cat /etc/fstab" command. From "live" LL, instructions were to run "cat /myRoot/etc/fstab".
Last thing to note. When running from live DVD or non-persistent USB stick, you will need to repeat the procedure for creating mount points and then mounting your various hard drive partitions. On each reboot, those things get wiped out -- so, for example, you can't just reboot the live DVD and run "cat /myRoot/etc/fstab" again on its own.