Mailinglist Archive: opensuse (2348 mails)

< Previous Next >
Re: [opensuse] complex confusing partition problem
  • From: Sam Clemens <clemens.sam1@xxxxxxxxx>
  • Date: Fri, 04 Apr 2008 20:22:50 -0400
  • Message-id: <47F6C65A.4080601@xxxxxxxxx>
Bob S wrote:
Hello SuSE users,

Going to need a guru for this one. Actually it is not a partition problem but one of having two instances of 10.2 installed -unintentionally. One instance is complete and working. The other is incomplete and missing apps, The only way to demonstrate this is through the partitioning scheme.

First you need the background. Sorry, but it is the only way to understand. I originally had two ide hard drives, hda of 80GB and hdb of 30GB. I put a 5GB partition for Windows on hda. The rest of the drive is ext3 which is used for datastorage, storage, backup and workspace.

hdb (30GB) was used strictly for 10.2 and utilized LVM partitioning, That drive previously had 9.3 and 10.0 on it. New installs each time. Worked fine - no problems whatsoever as did 10.2.

I then bought a 250 GB sata drive to install 10.3 on as I wanted to keep 10.2 on hdb and all of the storage on the hda drive. 10.3 installed flawlessly on the saata drive. However after booting 10.3 a couple of times I decided to copy over some of my stuff from the 10.2 install. To my amazement, when I clicked on 10.2 in the grub menu, it brought up another grub menu with two instances of 10.2. Each of them booted and opened up. One instance was complete and performed perfectly the other opened and looked fine. Same desktop schemes etc. as the good one. But none of my /home info was there and It would not open any of the apps I had installed, would not print, etc. etc.
Now, when I installed 10.3 the libata thing came into play. It made the new sata disk sda. then it took the ide disks and renamed hda to sdb and the hdb disk and renamed it sdc. (I complained bitterly to the list but it made no difference)

So now I look at the grub menu.lst for both instances of 10.2 and they are exactly the same. NOTE: I renamed the good 10.2 to plain "SUSE" for clarity and so I could choose the proper instance from the second grub menu. Following is the grub menu:
--------------------------------
# Modified by YaST2. Last modification on Tue Sep 18 19:13:07 EDT 2007
default 0
timeout 8
gfxmenu (hd1,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 resume=/dev/sda3 splash=silent showopts initrd /boot/initrd

title SUSE
root (hd2,0)
kernel /boot/vmlinuz root=/dev/sda1 resume=/dev/sda3 splash=silent showopts initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd

title Windows
rootnoverify (hd0,0) chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd0,0) chainloader (fd0)+1
-----------------------------------------------
Note that root is different between SUSE and SUSE 10.2. Also, /dev/sda1 should actually be 10.3 ( I think) So now I look at the fstab for both. They are quite different. Following is for the good instance designated SUSE
-----------------------------------------------
/dev/sda1 / ext3 acl,user_xattr 1 1
/dev/sda7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda2 /home ext3 acl,user_xattr 1 2
/dev/sda6 /tmp ext3 acl,user_xattr 1 2
/dev/sda5 /var ext3 acl,user_xattr 1 2
/dev/sda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hda2 /workspace ext3 user,acl 1 2
/dev/hda3 /datastorage ext3 defaults 1 2
/dev/hda1 /windows vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda5 /backup ext3 acl,user_xattr 1 2
/dev/hda6 /storage ext3 acl,user_xattr 1 2
/dev/hda7 /mediadata ext3 noauto,acl,user_xattr 1 2
/dev/hdb1 /boot ext3 acl,user_xattr 1 0
/dev/hdc /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
-----------------------------------------------------------------------------------------
BUT....Look at the first 5 lines. They say /dev/sda*. That can't be, /dev/sda is SUSE 10.3. So now I look at the fstab for 10.3 and I get this unintelligible mess:
>
---------------------------------------------------------------
/dev/sda8 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part5 /backup ext3 defaults 1 2
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part3 /datastorage ext3 defaults 1 2
/dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part9 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part7 /mediadata ext3 defaults 1 2
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part6 /storage ext3 defaults 1 2
/dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part10 /tmp ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part12 /usr ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part11 /var ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part2 /workspace ext3 defaults 1 2
/dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/disk/by-id/scsi-SATA_ST380011A_5JVQS2KB-part1 /windows vfat users,gid=users,umask=0002,utf8=true 0 0
-----------------------------------------------------------------------------------


Why did you choose "mount by DISK-ID" for the non-removable disks,
instead of something that is readable, such as "mount by LABEL"???

C'mon, Bob... I know you're smart enough to make the logical choice.

"Mount by DISK-ID can good for removable media, but just makes
a mess of things for disks which don't go anywhere.

So continuing on: The following is for the bogus SUSE 10.2
But it looks like it should except that the LVM's don't show. There is however a ~fstab which does show the LVM's.
-----------------------------------------------------------------------------------------
/dev/hdb1 / ext3 acl,user_xattr 1 1
/dev/hdb2 /home ext3 acl,user_xattr 1 2
/dev/hdb7 /opt ext3 acl,user_xattr 1 2
/dev/hdb8 /tmp ext3 acl,user_xattr 1 2
/dev/hdb5 /usr ext3 acl,user_xattr 1 2
/dev/hdb6 /var ext3 acl,user_xattr 1 2
/dev/hda1 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda7 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
---------------------------------------------------------------------------------------------
So now I look at my partitioner and of course there is no hda or hdb but it does seem to reflect the partitioning accurately. But no LVM and no explanation for the dual appearances of 10.2. I have attached the screen shot of the partitioner. Hopefully it will survive the censors. If not I can put it up on the web for viewing if anyone wants to see it.

I want to keep my SUSE (10.2) and get rid of the bogus SUSE 10.2 because it is solid and complete. Better yet it would be great to get everything in one single grub menu before I install 11.0. I have no idea on how to proceed,or to delete what partitions because libata changed all of the names. The partitioner will show the setup clearly.

Hopefully the guru's out there can analyze this and come up with a solution


------------------------------------------------------------------------


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References