Mailinglist Archive: opensuse (2348 mails)

< Previous Next >
Re: [opensuse] complex confusing partition problem
  • From: Bob S <911@xxxxxxxxxxx>
  • Date: Fri, 4 Apr 2008 21:25:20 -0400
  • Message-id: <200804042125.20212.911@xxxxxxxxxxx>
On Friday 04 April 2008 08:22:50 pm Sam Clemens wrote:
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.

Well, that's just it. I didn't. Yast did it. Just like it blew away the LVM's
on the old install on the older disk. That wasn't in there when I clicked
the "accept" button on the partitioner And I DO check that very carefully
before I do that. It still showed the hda and the hdb drives and there was no
dialogue about those changes. Wish I had another setup so I could reproduce
this.

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

..............< snip all of the rest>................
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References