Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Installing openSUSE 11.4 mount-by message

  1. #1

    Default Installing openSUSE 11.4 mount-by message

    I'm trying to update a 11.1 installation. As I start the installation I get a message "openSuse 11.0 partition /dev/sda5 Change the mount-by to any other method for all partitions." Also the message said go back and reboot and make the change. What is this all about, how do I do this.
    Thank you

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installing openSUSE 11.4 mount-by message

    On 2011-04-14 02:36, pestocat wrote:
    >
    > I'm trying to update a 11.1 installation. As I start the installation I
    > get a message "openSuse 11.0 partition /dev/sda5 Change the mount-by to
    > any other method for all partitions." Also the message said go back and
    > reboot and make the change. What is this all about, how do I do this.


    You have to edit /etc/fstab, and change all devices references like
    /dev/sda1, or /dev/hda1 to references to the equivalent
    /dev/disk/by-something/something - and you have to do this change yourself
    and verify it boots and works before attempting the upgrade.

    This was documented on the upgrade notes years back.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,706
    Blog Entries
    1

    Default Re: Installing openSUSE 11.4 mount-by message

    This may be helpful to you:

    TeraByte Unlimited Knowledge Base

  4. #4

    Default Re: Installing openSUSE 11.4 mount-by message

    Quote Originally Posted by deano_ferrari View Post
    This may be helpful to you:

    TeraByte Unlimited Knowledge Base
    Thank you deano, the reference was very useful
    However a couple questions:
    1. I ran /sbin/blkid and I see 3 UUIDs how do I know which one is root and which one is swap. Do I take them in order, the first on the list is for swap, second root, and the 3rd for /home

    2. menu.lst has 3 sections, the first section looks like the reference and seems OK, the second section has only the root id listed but same id as above. The 3rd section has name of openSuse 10.2, the long ago OS version. No info for UUID here.

  5. #5

    Default Re: Installing openSUSE 11.4 mount-by message

    Quote Originally Posted by pestocat View Post
    Thank you deano, the reference was very useful
    However a couple questions:
    1. I ran /sbin/blkid and I see 3 UUIDs how do I know which one is root and which one is swap. Do I take them in order, the first on the list is for swap, second root, and the 3rd for /home

    2. menu.lst has 3 sections, the first section looks like the reference and seems OK, the second section has only the root id listed but same id as above. The 3rd section has name of openSuse 10.2, the long ago OS version. No info for UUID here.
    You can
    Code:
    cd cd /dev/disk/by-id
    ## or 
    ls -la   cd /dev/disk/by-id
    and you'll be able to list the relationships

    For example:
    Code:
    tar@home:/dev/disk/by-id> ls -l  
    total 0
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 ata-HITACHI_HDS7225SASUN250G_VNRJ9HC6CX7R4M -> ../../sdb
    lrwxrwxrwx 1 root root 10 Apr 14 04:58 ata-HITACHI_HDS7225SASUN250G_VNRJ9HC6CX7R4M-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 ata-HL-DT-ST_DVDRAM_GH22NS50_K2HA3OF1413 -> ../../sr0
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 ata-ST31000528AS_9VP5X58H -> ../../sda
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 ata-ST31000528AS_9VP5X58H-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 11 Apr 14 04:58 ata-ST31000528AS_9VP5X58H-part10 -> ../../sda10
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 ata-ST31000528AS_9VP5X58H-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 ata-ST31000528AS_9VP5X58H-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Apr 14 04:58 ata-ST31000528AS_9VP5X58H-part6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Apr 14 04:59 ata-ST31000528AS_9VP5X58H-part7 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 ata-ST31000528AS_9VP5X58H-part8 -> ../../sda8
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 ata-ST31000528AS_9VP5X58H-part9 -> ../../sda9
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 scsi-200e09e0000b7d245 -> ../../sdc
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-200e09e0000b7d245-part1 -> ../../sdc1
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 scsi-SATA_HITACHI_HDS7225VNRJ9HC6CX7R4M -> ../../sdb
    lrwxrwxrwx 1 root root 10 Apr 14 04:58 scsi-SATA_HITACHI_HDS7225VNRJ9HC6CX7R4M-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H -> ../../sda
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 11 Apr 14 04:58 scsi-SATA_ST31000528AS_9VP5X58H-part10 -> ../../sda10
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Apr 14 04:58 scsi-SATA_ST31000528AS_9VP5X58H-part6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Apr 14 04:59 scsi-SATA_ST31000528AS_9VP5X58H-part7 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H-part8 -> ../../sda8
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 scsi-SATA_ST31000528AS_9VP5X58H-part9 -> ../../sda9
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 wwn-0x5000c5002014aa0e -> ../../sda
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 wwn-0x5000c5002014aa0e-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 11 Apr 14 04:58 wwn-0x5000c5002014aa0e-part10 -> ../../sda10
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 wwn-0x5000c5002014aa0e-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 wwn-0x5000c5002014aa0e-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Apr 14 04:58 wwn-0x5000c5002014aa0e-part6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Apr 14 04:59 wwn-0x5000c5002014aa0e-part7 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 wwn-0x5000c5002014aa0e-part8 -> ../../sda8
    lrwxrwxrwx 1 root root 10 Apr 14 04:55 wwn-0x5000c5002014aa0e-part9 -> ../../sda9
    lrwxrwxrwx 1 root root  9 Apr 14 04:55 wwn-0x5001480000000000 -> ../../sr0
    Use the ata-xxx labels.

    The disk by-id naming convention eliminates potential problems caused when the system uses removable devices and reassigns the /dev/sdx labels.

    Insertion of a USB device may install it as /dev/sdb1 moving your 2nd internal HDD to /dev/sdc1.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,706
    Blog Entries
    1

    Default Re: Installing openSUSE 11.4 mount-by message

    1. Have a look at output from
    Code:
    ls -l /dev/disk/by-uuid
    That will give you the mapping to kernel device naming, and compare with the entries in /etc/fstab

    2. Maybe post menu.lst here, so someone can advise further. (I'm not sure I understand you correctly).

    Code:
    cat /boot/grub/menu.lst

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installing openSUSE 11.4 mount-by message

    On 2011-04-15 01:06, pestocat wrote:
    > 1. I ran /sbin/blkid and I see 3 UUIDs how do I know which one is root
    > and which one is swap. Do I take them in order, the first on the list is
    > for swap, second root, and the 3rd for /home


    Certainly not.

    The output of blkid is like this:

    /dev/sda1: LABEL="a_boot_1" UUID="5a4b2ccf-da98-404f-911d-943e88c3acfb"
    TYPE="ext2"

    So you have to search for sda1 in fstab and replace the entry.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #8

    Default Re: Installing openSUSE 11.4 mount-by message

    More information

    fstab lists part 1 swap
    part 2 /
    part 6 /home

    but blkid lists
    /dev/sda1 TYPE:="swap"
    /dev/sda2 UUID="the uuid"
    /dev/sda5 UUID="the uuid"
    /dev/sda6 UUID="the uuid"
    I'm confused!

  9. #9

    Default Re: Installing openSUSE 11.4 mount-by message

    Quote Originally Posted by deano_ferrari View Post
    1. Have a look at output from
    Code:
    ls -l /dev/disk/by-uuid
    That will give you the mapping to kernel device naming, and compare with the entries in /etc/fstab

    2. Maybe post menu.lst here, so someone can advise further. (I'm not sure I understand you correctly).

    Code:
    cat /boot/grub/menu.lst
    Opps Sorry I missed some replies.
    My /dev/disk/by-uuid looks like this

    lrwxrwxrwx 1 root root 10 2011-04-13 17:05 5832d7c8-fe6b-409e-8424-a0208f01f695
    -> ../../sda5
    lrwxrwxrwx 1 root root 10 2011-04-13 17:05 b1f193d6-75cd-405a-9b99-327d868d8a94
    -> ../../sda6
    lrwxrwxrwx 1 root root 10 2011-04-13 17:05 e4234464-dafd-481d-9072-b78749ecefdd
    -> ../../sda2

    The confusing part is that I don't have a UUID for swap

    the menu.lst looks like this
    # Modified by YaST2. Last modification on Wed Dec 22 14:22:05 PST 2010
    # modified by GEL, 4/14/2011 for using UUIDs
    default 0
    timeout 8
    ##YaST - generic_mbr
    gfxmenu (hd0,1)/boot/message
    ##YaST - activate

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 11.1 - 2.6.27.56-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.27.56-0.1-pae
    root=/dev/disk/by-id/ata-WDC_WD2500KS-00MJB0_WD-WCANKC423897-part2
    resume=/dev/disk/by-id/ata-WDC_WD2500KS-00MJB0_WD-WCANKC423897-part1 splash=silent
    showopts vga=0x317
    initrd /boot/initrd-2.6.27.56-0.1-pae

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 11.1 - 2.6.27.56-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.27.56-0.1-pae
    root=/dev/disk/by-id/ata-WDC_WD2500KS-00MJB0_WD-WCANKC423897-part2 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.27.56-0.1-pae

    ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.2 - 2.6.18.8-0.3 (/dev/sda5)###
    title openSUSE 10.2 - 2.6.18.8-0.3 (/dev/sda5)
    root (hd0,4)
    configfile /boot/grub/menu.lst

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installing openSUSE 11.4 mount-by message

    On 2011-04-15 01:36, pestocat wrote:
    >
    > More information
    >
    > fstab lists part 1 swap
    > part 2 /
    > part 6 /home


    I'm sure that is not fstab, that's your interpretation.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •