Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: grub opensuse 13.1 wont boot after cloning

  1. #11
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,592

    Default Re: grub opensuse 13.1 wont boot after cloning

    Well if you don't know you have to look and see what is on it. No one else knows only the person that installed things.

    if you are at a prompt after the chroot procedure then the file should be at

    /mnt/etc/fstab

    In any case the fstab you posted is not anywhere near a normal one for an installed system and looks like one off a live media

  2. #12
    Join Date
    Sep 2012
    Posts
    4,136

    Default Re: grub opensuse 13.1 wont boot after cloning

    Quote Originally Posted by phaethon View Post
    Code:
    [TIME] Timed out waiting for device dev-disk-by-x22did-ata\x2dTOSHIBA_M01AB...
    openSUSE defaults to using /dev/disk/by-id paths for disks. These paths change when hard disk is physically replaced. You need to edit /etc/fstab and replace device names with new ones.

  3. #13
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,592

    Default Re: grub opensuse 13.1 wont boot after cloning

    Well it used to default to by-id in 13.2 at least it defaults to UUID but if you upgraded from older versions you may still have entries of by-ID

    BTW UUID is generated when you make a new partition so if you just copy files from old installation to new partitions the UUID's will be different but cloned data should also contain the old UUID numbers

  4. #14

    Default Re: grub opensuse 13.1 wont boot after cloning

    Thank you very much for the replies, your suggestions lead to a booting disk at last!

    A more analytical (as it should be for an unexperienced user) sum up follows in order for someone else to be helped:

    assuming the root partition is sda7:

    1.reboot using live usb/DVD with the opensuse iso
    2. select rescue mode and login as root
    then:
    Code:
    mount /dev/sda7 /mnt 
    mount /dev/sda2 /mnt/boot/efi 
    mount --bind /sys /mnt/sys
    mount --bind /proc /mnt/proc 
    mount --bind /dev /mnt/dev 
    mount --bind /run /mnt/run
    modify /etc/fstab replacing the label of the old disk with the ouput of the command :
    Code:
    ls -l /dev/disk/by-id/ata*
    vi /etc/fstab
    chroot /mnt
    update-bootloader --reinit
    exit 
    exit
    reboot and thats it!

  5. #15
    Join Date
    Sep 2012
    Posts
    4,136

    Default Re: grub opensuse 13.1 wont boot after cloning

    Quote Originally Posted by phaethon View Post
    modify /etc/fstab replacing the label of the old disk with the ouput of the command :
    Code:
    ls -l /dev/disk/by-id/ata*
    vi /etc/fstab
    chroot /mnt
    update-bootloader --reinit
    exit 
    exit
    reboot and thats it!
    Fir the sake of archives - in case if BIOS boot one more file to modify is /etc/default/grub_installdevice. This file contains device where bootloader is installed. It is not needed in case of EFI that you have.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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