System won't boot only get "x" on black screen

I’ve been running openSUSE 11.0 (KDE4.1) for quite a while now, but today when I booted up i get the nice green screen like always but then it goes to a black screen and all I have is an “X”. That will eventually disappear and I get some text on the screen. I can’t recall exactly what it was but I believe it said “linux login” or something like that.

If I try to start in fail safe mode, i get the following messages:

dev/system/swap not found

Reading all physical volumes
Volume group system not found

It repeats this message for about a dozen or so times and then give me the following:


Could not find /dev/system/root
Want me to fall back to /dev/dm-1? (Y/n)

Could anyone please give some ideas to correct this problem. I really don’t want to reinstall if possible.

Also, I pretty sure that I have all my important files saved on an external drive, but just in case I missed some is there anyway I can access the home dir. Perhaps using a Live cd? I tried using the opensuse live cd but I’m not able to find my original home folder using this.

Thanks for any help

This sounds slightly worrying to me.

Though it appears your default boot brings you to text login. Have you tried logging in with your user name and password.
Then type:
startx

if this doesn’t work, lets change to a basic graphics driver

Try this:

At the boot screen where you choose Normal or Failsafe
Use the down arrow to stop the timer then move back to default

Use the backspace key - and if there is any boot options text in the section lower down - it will be erased by backspace. In the empty space type just this:
3

Now press enter

At the text login, login as root
root
root password

now type this:
sax2 -r -m 0=vesa

N.B* the 0 is a zero not a letter

reboot

see if that lets you boot into a GUI

I tried your first suggestion with typing startx and I’m back in business. I now have my desktop back.

So does this mean that “X” isn’t starting correctly?

Thanks for the help!!!

So does this mean that “X” isn’t starting correctly?

Yes

Tell us all about your Graphics and system
If you are using Gnome or kde3 or 4??

You mentioned trying failsafe and getting errors. That shouldn’t happen.

In a terminal as su - type

fdisk -l

post here

also contents of
/etc/fstab

also
/boot/grub/menu.lst

also
/etc/X11/xorg.conf

I’m running KDE4.1, release 44.4. I recently installed Beagle. Don’t know if that could have caused a problem or not.

Here’s my fdisk-l

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00040cde                     

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       15076   121097938+   7  HPFS/NTFS
/dev/sda2   *       15077       15085       72292+  83  Linux
/dev/sda3           15086       24321    74188170   8e  Linux LVM

Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 2101 MB, 2101346304 bytes
255 heads, 63 sectors/track, 255 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Here’s my etc/fstab:


# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc	/proc	proc	defaults	0	0
sysfs	/sys	sysfs	noauto	0	0
devpts	/dev/pts	devpts	mode=0620,gid=5	0	0
/dev/dm-1	/	ext3	acl,user_xattr	1	1
/dev/disk/by-id/scsi-SATA_ST3200822AS_3LJ3V5JC-part2	/boot	ext3	acl,user_xattr	1	2
/dev/dm-0	/home	ext3	acl,user_xattr	1	2
/dev/disk/by-id/scsi-SATA_ST3200822AS_3LJ3V5JC-part1	/windows/C	ntfs-3g	defaults,users,locale=en_US.UTF-8	0	0
/dev/dm-2	swap	swap	defaults	0	0
debugfs	/sys/kernel/debug	debugfs	noauto	0	0

My xorg.conf:

# /.../
# SaX generated X11 config file
# Created on: 2008-09-07T11:08:24-0400.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "IgnoreABI" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "12"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "PS2++ Logitech MX Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  376 301
  HorizSync    30-81
  Identifier   "Monitor[0]"
  ModelName    "SAMSUNG SYNCMASTER"
  Option       "DPMS"
  Option       "PreferredMode" "1280x1024"
  VendorName   "SAM"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "RADEON X600 Series (RV370 5B62)"
  Driver       "fglrx"
  Identifier   "Device[0]"
  Option       "XAANoOffscreenPixmaps" "0x11365d0"
  Option       "Capabilities" "0x12aea90"
  Option       "OpenGLOverlay" "0x12ae700"
  Option       "FSAAScale" "0x12ae9d0"
  Option       "FSAAEnable" "0x12ae680"
  Option       "VideoOverlay" "0x11ae900"
  Screen       0
  VendorName   "ATI"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection

I’m not sure how to get you my grub menu.lst. I can’t open it with Kate.

ATI Radeon Xpress - openSUSE

I have no experience with ATI
You could try Yast software management and reinstall all you radeon stuff.

Anyway, what’s with your partitioning??
I’m not sure what you have here and it looks a bit dog. Did you arrange it yourself?

pm. mingus725 - an expert in this area
openSUSE Forums - View Profile: mingus725

I’ll try as you suggested, reinstalling my ATI stuff.

My partitioning has been the same since I installed openSUSE. What is it with my partitioning that looks “dog”. Just in case I have to reinstall again I’d like it to be correct. When I look at it I see “dev/dm-0”, “dev/dm-1”. I’m not sure what that is.

I did some googling and found this:
/dev/dm-0? - LinuxQuestions.org

So maybe you are OK?! I don’t use LVM and never have, but it appears that the error messages you are getting does happen with LVM and fdisk. The majority of us use standard partitioning with either Primary partitions or a combination of Primary and Extended partitions.

The error messages you got booting failsafe suggest that the initrd, or the boot arguments used in failsafe to reduce certain kernel functionality, resulted in the Logical Volume Manager not starting up properly. This may be due to an error in menu.lst. Or it may just be a by-product of failsafe when using LVM, which at its worst means that failsafe is not available (not a big deal).

Having said that, you have an important decision to make. Somehow openSUSE was installed using Logical Volume Management (this can only happen at the user’s request). The dm-0, dm-1, dm-2 are from Device Mapper, the kernel program which maps LVM “logical” volumes (i.e., partitions) to the physical partitions on the disk. The advantage of LVM is that it enables changing the amount of disk space by a volume, on-the-fly as opposed to resizing a physical partition which requires offloading the partition’s data, moving partitions around, and reloading the data. Consequently LVM is principally used in server or multi-user environments for dynamic storage allocation across multiple disks. It is used on desktop systems by advanced users with complex or frequently changing disk setups. However, a lot of LVM’s advantage on small systems has been greatly reduced by the relatively recent advent of very large and inexpensive disk drives, i.e., when the cost@GB is so low, physical partitions can easily be sized with ample room for data growth.

On your 200GB disk, you have 120GB in a single XP NTFS partition and you have 80GB allocated to the linux LVM, of which ~50GB has been assigned to 3 logical partitions; the remaining 30GB is there should you need to increase the size of the root volume (currently ~27GB) or the /home volume (currently ~21GB). Typically, there would be 2 physical partitions, with root approx the same size and /home having the remaining ~50GB. If there is space required beyond the 80GB, it would need to come from the 120GB XP partition (or a 2nd disk) - requiring very careful management of the logical volumes while physically changing the underlying partition - more work than if you didn’t have LVM.

The short of it is that on your system you are gaining nothing from using LVM, but there is the cost of additional complexity. If you already had experience with volumes or there was value in your understanding LVM (for example, in your job) or you plan a considerably more complex system setup, then LVM would make sense. If that doesn’t apply, then your decision is to either learn enough about LVM to be able to effectively handle it (for example, notice sda2 in your fdisk - that is a separate boot partition because it is problematic to boot from a LVM, just one of the little LVM-related details you will encounter) or to convert back to traditional partitioning.

Conversion can be approached in one of two ways. You can connect a second disk, create 2 partitions on it, copy dm-0 and dm-1 to those partitions; then on the first disk delete the 2/re-create 3 (the 3rd is for swap) physical partitions; then copy back the data from the second disk. If you aren’t experienced doing this kind of thing, this will be a challenge.

The second approach is to backup your openSUSE user data to the external, reinstall openSUSE altogether on new physical partitions, then migrate the user data in from the backup. This is probably the easiest.

Or, you leave it be with LVM. Important note: While linux LVM is mature and stable, it does introduce an additional complex I/O layer between filesystem and disk. Like any software, it can break. Backups are absolutely critical when using LVM.

So, again, you have a decision to make. Any questions, don’t hesitate to ask.

It looks like I’ll be reinstalling tonight, but this time I won’t use LVM as before. It’s weird that I had this problem now. My system has been running pretty well up to this point. Maybe one of the recent updates to KDE4.1 hosed my system. Or perhaps it was Beagle that I just recently installed.

Oh well, I guess I’ll never know.

I decided to try and boot into suse one more time before I reinstall. Go figure, now it works.:slight_smile:

I didn’t do a thing to it. I’ll guess I’ll let it go and see what happens.

IMHO, you came across the LVM issue accidentally. The original problem with X not starting had nothing to do with LVM. The high likelihood is that it was due to one of the 4.1 updates. As I indicated above, you can certainly continue using the setup you have now. It’s strictly a matter of the cost/benefit trade-off, as you see it.

I think when the next version of openSUSE comes out I’ll probably get rid of the LVM at that time. That is, as long as I don’t have any problems before then. Thanks again for the help.

Makes sense . . . glad to have been of some assistance. :slight_smile: