Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: openSUSE no longer boot to graphic login screen

  1. #1
    Join Date
    May 2009
    Location
    Luton, United Kingdom
    Posts
    31

    Default openSUSE no longer boot to graphic login screen

    Recently by system has failed to boot to the graphic login screen. I stops at root login on the console.

    It ask me to repair as it has failed to load a filesystem.

    I had a look at fstab and I can see all my disk. however when I look at mtab it does not mirror what is in fstab

    after entering the root password, issuing an 'init 5' would take me to the graphic login screen.

    my user logins are unable to get any desktop.

    Only root can get a desktop.

    I have run the partitioner tool and re-initalise the file system, and this allow my users to get their desktop ok.
    this does not stay permanant, as a reboot/restart to fail again to console

    What do I need to do to repair this and get fstab devices recognised during boot up?

    Any help would be appreciated.. Thanks.
    machanch

    openSUSE 13.1, Kernel 3.12.x, KDE4.11, Phenom II x2 550, 8GB Ram,
    ATI Sapphire Radeon HD5450. 3HDs (1TB, 80GB, 320GB),
    DVD RW, External USB3 1TB Harddisk

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSUSE no longer boot to graphic login screen

    So fstab is the file systems you want to be mounted at startup while mtab is what is actually mounted. If there is a difference, it is the file system(s) that did not mount. Perhaps you could post a copy of the two when this problem is present. You may need to copy mtab to something else to preserve the difference before any fixes you are doing are made. In general, if a mount is not working due to an error, if the mount is not critical to the system operation, it should be removed from the fstab file until the problem is found and/or fixed. Of course, mounts can be made in other places such as after.local for instance. In fact, some mounts that take extra time might be moved somewhere else like after.local, but that is just a opinion. If the partition is critical to system operation, I often suggest using a LiveCD to boot such as one with Parted Magic were an attempted fix can be made outside of the normal OS. It may even be required that the problem disk be replaced. Anyway show us what you got along with a fdisk -l command as root.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    11,210

    Default Re: openSUSE no longer boot to graphic login screen

    On 09/05/2011 03:26 AM, machanch wrote:
    >
    > Recently by system has failed to boot to the graphic login screen. I
    > stops at root login on the console.
    >
    > It ask me to repair as it has failed to load a filesystem.


    so, you have some sort of filesystem error that needs to be repaired..

    logging in as root and then using init 5 is _not_ repairing the problem,
    instead it is ignoring the problem...and allowing operations to continue
    with what might be a pending DISK FAILURE

    what does the error say _exactly_ ??

    if it were my machine my NEXT job would be to boot from a Live CD, mount
    partitions with data containing directories READ ONLY, and
    copy/backup/duplicate all important files/data/etc to a different device
    on a different machine/medium, then make sure that copy/backup/duplicate
    is readable and usable to restore..

    >
    > I had a look at fstab and I can see all my disk. however when I look at
    > mtab it does not mirror what is in fstab
    >
    > after entering the root password, issuing an 'init 5' would take me to
    > the graphic login screen.
    >
    > my user logins are unable to get any desktop.
    >
    > Only root can get a desktop.


    please do NOT log into KDE, Gnome, LXDE, Xfce or any other *nix-like
    graphical user interface as root, ever!

    it can be the cause of a multitude of strange problems (like: users
    can't log in, only root can log in!!!) lots is said about that in these
    fora...<http://tinyurl.com/DD-on-Root>

    >
    > I have run the partitioner tool and re-initalise the file system, and
    > this allow my users to get their desktop ok.
    > this does not stay permanant, as a reboot/restart to fail again to
    > console
    >
    > What do I need to do to repair this and get fstab devices recognised
    > during boot up?


    again: let us see _the_ error you see, and please show us the user
    terminal output from

    Code:
    cat /etc/SuSE-release
    zypper lr -d
    df -h
    cat /proc/partitions
    cat /etc/fstab
    mount
    sudo /sbin/fdisk -l
    sudo cat /boot/grub/menu.lst
    copy/paste the output back to this thread using the instructions here:
    http://goo.gl/i3wnr

    and, additionally you are gonna have to deal with this: openSUSE 11.1
    passed its end of life in January of this year, you should either move
    to a supported version or at the very least hook into the Evergreen
    project, here http://en.opensuse.org/openSUSE:Evergreen

    --
    DD
    Caveat
    openSUSE®, the "German Automobiles" of operating systems

  4. #4
    Join Date
    May 2009
    Location
    Luton, United Kingdom
    Posts
    31

    Default Re: openSUSE no longer boot to graphic login screen

    This is the last few line before the root prompt in the console

    fsck failed for at least one file system (not /)
    Please repair manually and repair
    The root filesystem is already mounted as read-write

    Attention: Only CONTROL-D will reboot the system in this
    Maintenance mode. Shutdown or reboot will not work.

    Give root password for login:
    ....

    Here is the output from the commands below

    cat /etc/SuSE-release
    Code:
    (none):~ # cat /etc/SuSE-release
    openSUSE 11.4 (x86_64)
    VERSION = 11.4
    CODENAME = Celadon
    zypper lr -d
    Code:
    (none):~ # zypper lr -d
    #  | Alias                             | Name                                    | Enabled | Refresh | Priority | Type   | URI                                                                                       | Service
    ---+-----------------------------------+-----------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------------+--------
     1 | GNOME:STABLE:3.0                  | GNOME:STABLE:3.0                        | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/STABLE:/3.0/openSUSE_11.4/               |        
     2 | Updates-for-openSUSE-11.4-11.4-0  | Updates for openSUSE 11.4 11.4-0        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                                 |        
     3 | download.opensuse.org-Education   | openSUSE BuildService - Education       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_11.4/                        |        
     4 | download.opensuse.org-Extra       | openSUSE BuildService - KDE:Extra       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_11.4/                       |        
     5 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_11.4/                 |        
     6 | download.opensuse.org-database    | openSUSE BuildService - Database        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_11.4/                 |        
     7 | download.opensuse.org-games       | openSUSE BuildService - Games           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_11.4/                            |        
     8 | download.opensuse.org-packages    | openSUSE BuildService - Java:packages   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.4/                   |        
     9 | download.opensuse.org-standard    | Main Repository (Contrib)               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/               |        
    10 | google-chrome                     | google-chrome                           | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                       |        
    11 | google-talkplugin                 | google-talkplugin                       | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/talkplugin/rpm/stable/x86_64                                   |        
    12 | home:manugupt1                    | home:manugupt1                          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/manugupt1/openSUSE_11.4/                  |        
    13 | openSUSE-11.4-11.4-0              | openSUSE-11.4-11.4-0                    | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS324_B_3524219_348044501013,/dev/sr0,/dev/sr1 |        
    14 | packman.inode.at-suse             | Packman Repository                      | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/                                               |        
    15 | repo-non-oss                      | openSUSE-11.4-Non-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                              |        
    16 | repo-oss                          | openSUSE-11.4-Oss                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                                  |
    df -h
    Code:
    (none):~ # df -h
    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                 15G  7.6G  6.5G  54% /
    devtmpfs              3.9G  312K  3.9G   1% /dev
    tmpfs                 4.0G   80K  4.0G   1% /dev/shm
    /dev/sdb3              15G  7.6G  6.5G  54% /
    cat /proc/partitions
    Code:
    (none):~ # cat /proc/partitions
    major minor  #blocks  name
    
       8        0  976762584 sda
       8        1     102400 sda1
       8        2  205586432 sda2
       8        3  627710976 sda3
       8        4          1 sda4
       8        5  121249792 sda5
       8        6    1123328 sda6
       8        7   20974592 sda7
       8       16   80043264 sdb
       8       18      88064 sdb2
       8       19   15727616 sdb3
       8       20   20891648 sdb4
       8       32   80418240 sdc
       8       33          1 sdc1
       8       37   24828426 sdc5
       8       38   55560771 sdc6

    cat /etc/fstab
    Code:
    (none):~ # cat /etc/fstab
    /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2AE1YSE-part3 /                    ext4       acl,user_xattr        1 1
    /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2AE1YSE-part2 /boot                ext4       acl,user_xattr        1 2
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part6 swap                 swap       defaults              0 0
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part5 /home                ext4       defaults              1 2
    /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2AE1YSE-part4 /mnt/lindata         ext4       acl,user_xattr        1 2
    /dev/disk/by-id/ata-HDS722580VLAT20_VN62GECHR173VC-part6 /mnt/linux_data      ext4       defaults              1 2
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part2 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part3 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/ata-HDS722580VLAT20_VN62GECHR173VC-part5 /windows/G           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 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/disk/by-id/usb-SAMSUNG_HD103SI_18A5022A00019547-0:0-part1 /mnt/vebatim         ext4       acl,user_xattr        1 2
    /dev/disk/by-id/usb-SAMSUNG_HD103SI_18A5022A00019547-0:0-part2 /windows/h           vfat       users,gid=users,umask=0002,utf8=true 0 0
    /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP6930HD29506F-part7 /windows/L_Fats      vfat       noauto,users,gid=users,umask=0002,utf8=true 0 0
    mount
    Code:
    (none):~ # mount
    devtmpfs on /dev type devtmpfs (rw,relatime,size=4055980k,nr_inodes=1013995,mode=755)
    tmpfs on /dev/shm type tmpfs (rw,relatime)
    devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
    /dev/sdb3 on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    proc on /var/lib/ntp/proc type proc (ro,nosuid,nodev,relatime)
    gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    sudo /sbin/fdisk -l

    Code:
    (none):~ # sudo /sbin/fdisk -l
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xeccab408
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT
    /dev/sda2   *      206848   411379711   205586432    7  HPFS/NTFS/exFAT
    /dev/sda3       411379712  1666801663   627710976    7  HPFS/NTFS/exFAT
    /dev/sda4      1666803710  1953503231   143349761    f  W95 Ext'd (LBA)
    /dev/sda5      1708754944  1951254527   121249792   83  Linux
    /dev/sda6      1951256576  1953503231     1123328   82  Linux swap / Solaris
    /dev/sda7      1666803712  1708752895    20974592    c  W95 FAT32 (LBA)
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 82.0 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x62c62d3d
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb2        86671360    86847487       88064   83  Linux
    /dev/sdb3   *    86847488   118302719    15727616   83  Linux
    /dev/sdb4       118302720   160086015    20891648   83  Linux
    
    Disk /dev/sdc: 82.3 GB, 82348277760 bytes
    255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xf9c95162
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1           16065   160826714    80405325    f  W95 Ext'd (LBA)
    /dev/sdc5           16128    49672979    24828426    7  HPFS/NTFS/exFAT
    /dev/sdc6        49673043   160794584    55560771   83  Linux
    sudo cat /boot/grub/menu.lst
    Code:
    (none):~ # sudo cat /boot/grub/menu.lst > boot_file_log
    cat: /boot/grub/menu.lst: No such file or directory
    machanch

    openSUSE 13.1, Kernel 3.12.x, KDE4.11, Phenom II x2 550, 8GB Ram,
    ATI Sapphire Radeon HD5450. 3HDs (1TB, 80GB, 320GB),
    DVD RW, External USB3 1TB Harddisk

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSUSE no longer boot to graphic login screen

    You forgot to give us this one:

    Code:
    cat /etc/mtab
    I do not understand this command not working:

    Code:
    sudo cat /boot/grub/menu.lst
    This does not seem to be a good thing.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6
    Join Date
    May 2009
    Location
    Luton, United Kingdom
    Posts
    31

    Default Re: openSUSE no longer boot to graphic login screen

    The result of mtab..

    Code:
    none):~ # cat /etc/mtab
    rootfs / rootfs rw 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=4055980k,nr_inodes=1013995,mode=755 0 0
    tmpfs /dev/shm tmpfs rw,relatime 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
    /dev/sdb3 / ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,relatime 0 0
    proc /var/lib/ntp/proc proc ro,nosuid,nodev,relatime 0 0
    gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0
    fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
    grub..menu.lst:
    Code:
    (none):~ # sudo cat /boot/grub/menu.lst
    cat: /boot/grub/menu.lst: No such file or directory
    the boot disk does not appear to have been mounted
    machanch

    openSUSE 13.1, Kernel 3.12.x, KDE4.11, Phenom II x2 550, 8GB Ram,
    ATI Sapphire Radeon HD5450. 3HDs (1TB, 80GB, 320GB),
    DVD RW, External USB3 1TB Harddisk

  7. #7
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSUSE no longer boot to graphic login screen

    So boot is the problem child then. Here, from your fstab file:

    /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2AE1YSE-part2 /boot ext4 acl,user_xattr 1 2
    Is this it from your fdisk -l command?

    Code:
    /dev/sda2   *      206848   411379711   205586432    7  HPFS/NTFS/exFAT
    OR

    Code:
    /dev/sdb3   *    86847488   118302719    15727616   83  Linux
    So, oddly, I don't know, but it must be loaded by the BIOS to boot and fails to load by openSUSE I suppose. It looks to be that this is the partition you need to fix or replace.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  8. #8
    Join Date
    May 2009
    Location
    Luton, United Kingdom
    Posts
    31

    Default Re: openSUSE no longer boot to graphic login screen

    This is correct.. the linux boot disk is approx 80 MBytes.. /dev/sdb3

    that reside as a partition.. /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2AE1YSE-part2 /boot ext4 acl,user_xattr 1 2

    /dev/sda2 * 206848 411379711 205586432 7 HPFS/NTFS/exFAT
    This is the partition where windows 7 resides.
    machanch

    openSUSE 13.1, Kernel 3.12.x, KDE4.11, Phenom II x2 550, 8GB Ram,
    ATI Sapphire Radeon HD5450. 3HDs (1TB, 80GB, 320GB),
    DVD RW, External USB3 1TB Harddisk

  9. #9
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSUSE no longer boot to graphic login screen

    So, have you tried using something like a GParted Boot disk and try to fix the boot partition?

    GParted - Browse /gparted-live-stable at SourceForge.net

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  10. #10
    Join Date
    May 2009
    Location
    Luton, United Kingdom
    Posts
    31

    Default Re: openSUSE no longer boot to graphic login screen

    Thanks for the response.. It is late now here in the UK.. I will try this later today, and update this thread
    machanch

    openSUSE 13.1, Kernel 3.12.x, KDE4.11, Phenom II x2 550, 8GB Ram,
    ATI Sapphire Radeon HD5450. 3HDs (1TB, 80GB, 320GB),
    DVD RW, External USB3 1TB Harddisk

Page 1 of 2 12 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
  •