

( if booting fails, you could boot a Live CD and chroot into the root filesystem to create the missing /opt directory )ģ.

Assuming you can get booted, and a "ls" at the "/" directory confirms that you have no /opt directory, go ahead and I don't know if there will be an error regarding a missing /opt directory - I've never tried to boot without one. This will leave you with /home still mounted on /dev/sda5. Delete from /etc/fstab the line mounting a partition to /opt unmount, via the umount command, the filesystem that is currently mounted to /optĢ. You will have to think about it as a sequential process - I'm going to describe the process as best I can, and let the precise commands be an exercise for the student (after all, you can always just reinstall it correctly).ġ.


This unfortunate arrangement of partitions and mount points is fixable. I don't remember seeing /data as an option when naming partitions when I was setting up the drives did I just miss it? dev/mapper/cryptswap1: UUID="69fa7ba9-33d7-47d9-a989-d3872acaf6b2" know enough about Linux to do more than the average user, but not to prevent screwing it up in grand style, so please bear with me. I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes # swap was on /dev/sdb5 during installation # /opt was on /dev/sdb1 during installation # /home was on /dev/sda5 during installation # devices that works even if disks are added and removed. # for a device this may be used with UUID= as a more robust way to name # Use 'blkid -o value -s UUID' to print the universally unique identifier # /etc/fstab: static file system information. I really, really don't want to re-do my machine a 5th time, so any help is very greatly appreciated. After the 4th time, I gave up because I must have a working system right now.ĭoes anyone have a simple method for getting /opt under my control, so I can start adding my big files to the drive? I figure it's probably something simple,but I'm missing the idea somewhere. I tried LVM when I was setting up, but I did something wrong all 4 times because it only recognized the root partition as /home, and didn't merge the 2 drives at all. I mostly want to keep my biggest files in /opt, so I don't run out of space in /home. I went and checked the box under root to presumably add myself to root, but that didn't work either. I used the "users and groups" gui to add myself to /opt, but it still won't let me create any folders and whatnot in /opt. When I partitioned, I set my home partition on the first drive, but couldn't add the 2nd drive to the /home directory, so I set it as /opt.
HOW TO PARTITION SECOND HARD DRIVE FOR UBUNTU INSTALL
I just did a command line install of ubuntu, put xfce on it,( so I could add what few programs I actually use, not all the stuff that comes with xubuntu).
