Slackware 14.1 64-bit Black Screen at startx
Please help. I am a Slackware newbie. I just installed Slackware 14.1 64-bit on an HP G72 laptop. I installed Slackware with the default settings. I followed the LILO warnings during installation and in the documentation, and did not yet configure LILO.
I'm having two problems: Problem 1. I can boot up to the darkstar login prompt from the CD, and change user to root. I then type startx at the prompt. A few lines of code flash on the screen, then the screen goes black. Problem 2. I can't get the computer to boot from the USB boot stick that I created during the Slackware installation. Here are the computer technical details: HP G72 laptop; Intel Core i3 M370 2.40 GHz processor; 4GB RAM; Intel HD Graphic. I have 3 primary partitions on the hard drive, and 3 extended partitions. The partitions are setup as follows: sda1 - the Windows boot partition sda2 - the Windows 7 installation sda3 - an 8 GB Linux Swap partition sda5 - the / partition sda6 - the /usr partition sda7 - the /home partition Please help resolve this issue. Thanks! |
Welcome to linux Questions welcome aboard
well if you did a default with linux and chose to install lilo simple to mbr. you would boot and then seen your windows operating system and Slackware at the boot prompt. And you would have a choice of either system. It is a big deal. if you never installed Slackware is to install it a very simple way. and if you ever have a problem with booting into windows always make a recovery disk to put your windows boot loader back on. Since I have no clue why you would be using a cdrom not sure after a install. install Slackware for the first time and your new at it. just install lilo to the mbr and then configure your system then reboot. It will load the vmlinuz-huge kernel with all the drivers needed to get your laptop running. when I install Slackware I keep it simple. one partition for / and one swap. you did ok making the other partition. This is what I am lost on. Quote:
may I tell you to make life simple and to make things simple. create one partition one and one swap. Why because on a full install it usese a lot of space. since you are new to Slackware you may not understand he space you may need. and any time down the road you may make other partitions and then mount them as /home or /usr. when you install to one partition it still creates those directories. One create a recovery disk for windows. 2 install slackware install lilo or grub2 as of slackware 14.1 to the mbr (master boot record). lilo will work fine. ok let's say you did all that and it is a default install. And you get to darkstar and you log in as root and type startx the feed back is a error it is not loading the graphics driver. since there is many HP G72 laptop models and types I am not sure of your exact model. Not sure but booting from the cdrom you may pass a option on like this nouveau modeset=0 and force it to use the VESA xorg.conf and see what happens. I am sure before I get this written some other kind slackers will pick this up also. |
Hey, Drakeo. I guess I should have provided more info. The exact laptop model is HP G72-B60US, Product Number XG988UA#ABA.
I have a large hard drive in the laptop, so I had more than enough space after reducing the size of my Windows 7 partition. Before installing Slackware I used cfdisk to create the partitions. Here are the Linux partition sizes and partition types: sda3 - 8GB Linux Swap (Linux type 82) sda5 - 20GB for / (Linux type 83) sda6 - 30GB for /usr (Linux type 83) sda7 - over 65GB for /home (Linux type 83) I allowed Slackware to install the Linux ext4 file system (default selection) on the partitions during the installation. During installation I followed the instructions per the Slackware-HOWTO.txt document provided in the slackware64-14.1-install-dvd.iso, except I added the two additional partitions based on some forum recommendations that I read. When I mentioned that I did not setup LILO, it was per the warnings given in Section 4.7 of the Slackware-HOWTO.txt document that recommended folks new to Slackware refrain from setting up LILO during installation. When I boot the computer from the CD-ROM, I receive the Slackware boot: prompt. At the boot: prompt, I enter the following: huge.s root=/dev/sda5 initrd=0. This then takes me to the darkstar login: prompt. At the prompt I enter root. At the root@darkstar: prompt I enter startx. That's when I receive the black screen. As a side note, I also attempted the Xorg -configure test procedure found in the Slackware-HOWTO.txt document [entered Xorg -config /root/xorg.conf.new at the prompt], which according to the document is supposed to "...load the initial xorg.conf.new file and run the X server. If you see the default black and gray checkered background with a mouse cursor appear, the the configuration was successful. To exit the X server, just press Ctrl+Alt+Backspace simultaneously." BUT... when I did so, it went to the black screen, and the Ctrl+Alt+Backspace did not return to the prompt. It was just locked-up. I had to manually turn off the computer and turn it back on. I hope this additional information provides enough to be helpful in assisting me. Thanks again! |
Quote:
looks at you /etc/x11/xorg.conf file. MMM http://docs.slackware.com/slackware:install this has been the way for ever. second question where did you get the cdrom. :). That graphics cards is very well supported by the kernel Slackware is running. but for some chance the nouveau that is causing a problem you may use the vesa frame buffer instead by blacklisting nouveau /etc/modprobe.d/blacklist.conf. or from the prompt you can try. huge.s root=/dev/sda5 initrd=0 blacklist nouveau huge.s root=/dev/sda5 initrd=0 nouveau modeset=0 but unless you have a understanding of the /etc/x11/xorg.config file do not mess with it. Quote:
then if you run like that procedure said in the old how-to]'s I am unable to find. It will cause problems. and it will never be read because the nouveau module is being loaded first. Again slackware out of the box should boot that laptop. |
My advice:
As Drakeo said no xorg.conf file should be needed. But in case you have again a black screen after running "startx", come back here for advices. |
Still having problems...
I implemented the recommendations made by Drakeo and Didier regarding redoing my partitions. I did, however, use a /home partition. I deleted all existing Linux files, repartitioned the drive with cfdisk, and re-installed Slackware. I now have 3 primary partitions, and only 2 extended partitions. Here's my revised partitioning schema: sda1 - the Windows boot partition sda2 - the Windows 7 installation sda3 - 8GB Linux Swap (Linux type 82 file system) sda5 - 50GB for / (Linux type 83 file system) sda6 - over 65GB for /home (Linux type 83 file system) In order to ensure I did not have a corrupted Slackware install .iso file, I downloaded the slackware64-14.1-install-dvd.iso file from the Slackware URL: ftp://ftp.slackware.com/pub/slackwar...re64-14.1-iso/ and made another install DVD. During the Slackware install I allowed it to create another bootable USB drive. During the Slackware install I allowed it to install LILO to the Linux root partition (/dev/sda5). NOTE: I wanted to ensure I could still boot into Windows in case I still had issues so I did not allow LILO to modify the Master Boot Record. I setup LILO to use the Linux / partition (/dev/sda5) as the default, and the Windows boot partition (/dev/sda1) as the second option. I then used cfdisk to change /dev/sda5 to be the bootable partition. I restarted the computer, and once again received the black screen. And, the computer still won't boot from the USB boot stick that I created during the Slackware installation [note: the computer will boot from other USB drives, such as the one I have for Slax Linux, so the problem isn't my BIOS boot order]. Any suggestions on what to try now? |
Quote:
Quote:
You might go to the site below and download and run the bootinfoscript. Post the results here, a results.txt file. There is a link in the Description box at the site explaining how to run it. It must be done from Linux. http://sourceforge.net/projects/bootinfoscript/ Are you able to boot windows? |
Hi, yancek. I was only able to boot into Windows again by changing the /dev/sda1 partition back to being the boot partition. Then, the computer boots as normal into Windows 7 just as before I installed Slackware - no LILO screen.
Since I used the option to install LILO to my Slackware partition (/dev/sda5) instead of editing the Master Boot Record, that I would have to set that /dev/sda5 to be the bootable partition? I will take a look at the bootinfoscript site, per your recommendation. |
As long as you didn't update the MBR and made /dev/sda1 bootable, it's normal that only Windows 7 can boot, that's right.
If you want to use LiLo's boot menu again, you'll just have to make /dev/sda5 bootable instead (and not /dev/sda1 at the same time, of course). For that you can boot off the CD again, then start Linux on /dev/sda5 as you already did, and after login as "root" use fdisk or cfdisk to mark /dev/sda5 as bootable instead of /dev/sda1. To understand why you get a black screen when running startx, we need to know what error messages are triggered. You can get that information easily: once logged in Linux, do not run startx, but please do what follows:
Code:
lspci -knn | grep -A3 VGA > /mnt/lspci.txt
Code:
/var/log/setup/setup.80.make-bootdisk |
Hi, Didier.
1. I ran the two log file commands, per your instructions. I received a response that No such file or directory exits for the command: cat /var/log/Xorg.0.log > /mnt/xorglog.txt. Therefore, the xorglog.txt file was empty. Out of curiosity, I ran the following command to verify that the Xorg.0.log wasn't in the /var/log directory: ls -a /var/log. This verified that there were not any files listed beginning with "xorg". Here are the contents of the lspci.txt file: 00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) Subsystem: Hewlett-Packard Company Device [103c:1439] Kernel modules: i915 00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06) ----------------- 2. Regarding the bootable USB stick... I used the code you provided, and the files were created on the USB stick. However, the computer still will not boot from it. Perhaps I didn't setup the USB stick correctly? I used a new USB stick that I had formatted in Windows 7 as FAT32. Should I have used cfdisk and partitioned it first? Or, should I have used mkfs to make a different file system on it first? Here are the contents of the USB stick: EFI directory f1.txt ldlinux.sys message.txt syslinux.cfg vmlinuz Please advise. Thanks! |
Member Response
Hi,
Linux does not require you to set the boot flag. MS Windows does. Since you placed lilo on the '/dev/sda5' then try booting the installer DVD then follow the information for the boot prompt; Code:
Boot: huge.s root=/dev/sda5 initrd=ro nomodeset Quote:
Have fun & enjoy! :hattip: |
Quote:
@notoMS: 1. When you do a ls /var/log, you should look for files beginning with X, not x, a Linux is case sensitive. Thus is you typed cat /var/log/xorg.0.log instead of cat /var/log/Xorg.0.log it's normal that the file be missing. Else, did you type "startx" once before running the "cat" command? I ask before the file /var/log/Xorg.0.log should be (over)written every time you run "startx". Also, when you say that typing "startx" you receive a black screen, do you mean that the screen becomes fully black instantly, or do you first see some messages and then, which ones? Other question, did you make a full Slackware installation (installed all packages), as recommended? Also, did you type exactly as I wrote it the command: Code:
lspci -knn | grep -A3 VGA Code:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M [Quadro NVS 140M] [10de:0429] (rev a1) 2. Regarding the bootable USB stick, I just made one on Slackware64-14.1 using the command: Code:
/var/log/setup/setup.80.make-bootdisk So just a thought: did you set up the BIOS of your machine to first try an USB boot (before any other media), else to boot off an USB stick once? If you forgot that it's normal that you couldn't boot off the USB stick. Also, some BIOS need a specific setting to allow booting off an USB device. PS No preparation of the USB stick is needed as anything on it is first wiped out by the script, and the content you posted after running the command seems correct. |
Member Response
Hi,
The boot flag is not required for Linux even if you specify a partition other than on the IPL with MBR. You can select other partition to boot without specifying a boot flag as long as the loader configuration file is setup correctly; Quote:
Quote:
Have fun & enjoy! :hattip: |
I been checking this thread everyday.
1 I am going to figure The User did a good install. 2. Since a good install want to look at why no DE. 3. Long time ago had a problem like this with another card maker but that was different. . The other times I had this problem is when I set up grub wrong on a slack box. Load the wrong kernel for the operating system. This would reproduce what is going on. another would be the module not loading. another would be nouveau mesa problem. last but not least I did this once loded the 64 bit kernel on a 32 bit system did that and well you know. When is a simple install not getting that card and xorg to work? when many slackware boxes on the same hardware are doing fine. I just going to keep up with the thread. Food for thought. last but not least try startxfce4 and see what happens. because I do remember a long time ago with kde there was a start up problem with the default 3d desktop. |
I might be too late to the 'party' - but in the 'old days', the boot-flag had to be on a _primary_ partition!
So - instead of using /dev/sda3 for swap, that's where you should put your linux root-partition - or at least making it a linux 'boot'-partition. |
All times are GMT -5. The time now is 08:44 AM. |