SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just upgraded to 10.3 but the sys info no longer lists another linux partition, /dev/sda4. I could see this partition with 10.2. Here's my /etc/fstab:
Does the partition not show up at all, or is the filesystem unknown. You may have repartitioned the drive if you hadn't used the expert partitioning option during the reinstall. Check the begin and end points.
If the partition shows up (check with "sudo /sbin/fdisk -l) but the filesystem doesn't, check if you need to load a kernel module. For example, if it is xfs, you may need to modprobe the xfs kernel module ( "sudo /sbin/modprobe xfs" ). If this is the case, there is a file in /etc/sysconfig/ where you can add kernel modules that will be added to initrd when you run the "mkinitrd" command. This will ensure that you will always have the filesystem kernel module loaded when you boot up.
This is the result of fdisk -l. /dev/sda2 is openSUSE 10.3 GM and /dev/sda4 is 10.3 beta 1:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008126d
Device Boot Start End Blocks Id System
/dev/sda1 1 131 1052226 82 Linux swap / Solaris
/dev/sda2 * 132 6659 52436160 83 Linux
/dev/sda4 6791 10707 31463302+ 83 Linux
You seem to have a gap in your partitioning. Even so the YaST partitioner program should see this partition. From there you can select a mount point and it will edit your /etc/fstab file for you. However, consider backing up the contents of this partition and repartitioning the drive so that A) /dev/sda4 is an extended partition starting at 6660
B) You utilize the rest of the drive. For ATA drives You are limited to 4 primary partitions, one of which can be an extended partition. If you are running two distros, consider using the same partition for /home. This will allow you to have a larger /home partition and to retain your personal files between reinstalls. It will work out best if you use a different home directory in the distros. You can have the same username, but use a different home directory. A field in /etc/passwd determines your home directory. So even if your username is the same, you can have two distinct home directories. You can either edit the passwd file manually or use YaST.
You could also try moving and resizing /dev/sda4 using the partitioner program, but back up the contents just in case.
What I want to know is how to mount /dev/sda4 when I'm booted into /dev/sda2. I thought I could add a line to /etc/fstab but I'm not sure how to write it.
Particularly, I'm not sure about the options like acl,user_xattr 1 1 that come after the name of the drive/partition (see opening post). If I use these options in fstab for /dev/sda4 will it conflict with /dev/sda2?
No, if the partition filesystem is the same, you could use the same options. Use "0 0" at the end of the line since this isn't native to your system and used when you use the other distro.
The YaST2 partitioner can do all of this for you. Just select the partition & select edit.
Then enter a mount point for it and make sure that "Format" is not selected. YaST will probably add the best options. If the filesystem is from a different distro, it may be owned by a different user. For example, Fedora starts the first regular user with UID=500 while SuSE starts regular users at 1000.
If this is from a previous installation and you are only accessing it from SuSE 10.3, then you can change the ownership and permissions to give you full access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.