Slackware "freezes" (when BOOTING with LILO) ; Dual-Boot WinXP/Linux
Hi all,
I just installed Slackware 10.2. Now I try to boot Slackware with LILO, but it doesn't work... And I can't write my lilo.conf b/c when I boot with the Slackware CD1 (boot: bare.i root=/dev/hda3 noinitrd ro), the X Window System doesn't boot (its a black screen)(console))... Windows XP boots PERFECTLY but Slackware doesn't... And LILO is in MBR When I try to boot Linux with LILO, it says : Code:
Boot: Linux I waited like 2-3 mins, and there was nothing after "Booting Linux.........." And sometimes, it says: Code:
Boot: Linux So whats does I do? Heres my config: ---------[ Config ]---------- Pentium III Coppermine 870MHz overclocked to 1GHz ASUS CUSL2-C Dual-Boot LILO --> Windows XP Pro SP2/Linux Slackware 10.2 512Mb (SDRAM PCI133) ATI Radeon X700 256MbAGP 4X Sound Blaster PCI128 Two IDE hard disks of 80Gb including 35Gb disponible for Linux) ------------------------------ Kernel 2.4 (the default one on Slackware 10.2 CDs) FluxBox (just FluxBox, NO KDE or other Desktop Env.) LILO Partition ./ on "/dev/hda3" (partition ./ of 7.5 Go) 1 Gb of SWAP I checked my liloconfig (when booting with "bare.i root=/dev/hda3 noinitrd ro" (without the Windows config): Code:
# liloconfig ==== Thanx a LOT! Blue.- |
Great information btw... thanks.
Boot from the CD again to the console seeing that your system doesn't boot from LILO yet. Sounds to me like something is up with your lilo config, so lets take a look. When you run lilo from the console what does it say? also please run the following and post results.... Code:
ls -l /boot |
If you need to do anything with your system and you can't boot it, boot from the Slackware installation disk and chroot into your existing (installed) system. That way you're inside your installed system, and you can run lilo, do fdisk -l or anything else you need to do to see what went wrong.
What do you mean by "partition ./" This is not a valid definition. If you typed that in somewhere, it is probably part of the problem. Root is just "/" with nothing before or after. If that was just a typo (twice) then don't worry about it. Also it may help to see a real copy of your lilo.conf and fdisk -l because people often don't type stuff like it actually is. If you can, copy and paste it in to the entry so we can see what's going on. I don't know what the boot=/dev/hda is doing but it doesn't look normal. Here's a sample lilo.conf for a dual boot with Winblows in /dev/hda1 and Slackware in /dev/hda3. This is a complete lilo.conf which is sufficient: Code:
# Sample LILO configuration for dual boot |
I just want to post one thing so the OP doesn't get concerned, but "boot = /dev/hda" is normal. This might not be the only time that is entered, but when you choose the expert option for installing LiLO and pick the MBR, it asks you for this location.
This is not to be argumentative with Randux at all. |
I would say boot with Slack cd 1 and do a chroot like Randux suggested and then check your boot directory to make sure /boot/vmlinuz exists as a kernel or is a sym link to /boot/vmlinuz-ide-2.4.31 which is the usual kernel name for Slack 10.2 in 2.4.31 kernel. While your there do:
fdisk -l to get a list of available partitions and make sure that hda3 is your Slack partition. |
OK I want to copy my "fdisk -l", my "lilo.conf" and my "ls -l /boot", but I have a problem...
Hmmm, I think you will think im a dumb... lol Heres the problem: I use the "xterm" terminal... When I type, for example, "fdisk -l" in xterm, I see the informations, but I CAN'T copy the informations of "fdisk -l" from xterm to a plain text file... How to copy text in xterm? And does "vmlinuz" and "vmlinuz-ide-2.4.31" is the same? Because I think "vmlinuz" is a better kernel, no? I think its a guy that told me that... Thanx... P.S. for ScottReed : When I type lilo in the console, it says ONLY: Code:
Added Windows* |
vmlinuz is most likely a symlink to the vmlinuz-ide-2.4.31 file. No issue there.
The fact that lilo doesnt return any errors means that your lilo.conf is OK. Try to get the output from fdisk -l |
Quote:
First, for lilo issue: Code:
mingdao@silas:~$ cat /etc/lilo.conf > lilo.conf.txt Second, for the listing of your /boot directory issue: Code:
mingdao@silas:~$ ls -lh /boot > boot.txt (I added the -h switch to make the output 'human readable' -- you seem like the human type.) Third, for the output of your file partitions, (as root) issue: Code:
root@silas:~# fdisk -l > /home/blue/fdisk.txt (where I put blue, you put your username) If you can get online in Slackware, then you can copy and paste them from xterm into here. Start with your web browser open, and with a window here ready to reply to this thread. In xterm you can now issue: Code:
mingdao@silas:~$ cat fdisk.txt You also need to format that text in here where we other humans can read it easily. The way to do that is to use the code tag. You type [_code_] without the underscores _ before your text, and [_/code_] without the underscores _ after your text. So BlueSpirit, you start by getting a reply window here, then all you need to do is type [_code_] without those underscores and then got to xterm and issue "cat fdisk.txt" and then drag the mouse over the output and then come paste it here after [_code_] without those underscores by clicking on the middle mouse button. You should have something like this: Code:
mingdao@silas:~$ cat fdisk.txt Now, the way Slackware sets this thing up, you'll have an entry in your /boot directory like this: Code:
lrwxrwxrwx 1 root root 18 2006-06-18 01:43 vmlinuz -> vmlinuz-ide-2.4.32 You asked how to: Quote:
Code:
root@silas:~# fdisk -l Also, might I comment on your output: Quote:
Code:
# Windows bootable partition config begins Code:
# LILO configuration file This seems to be your problem from your first message where you said: Quote:
|
OK I got my config files...
And Chinaman, I tried your suggested lilo.conf, but it didn't work... :( Now, heres my config files: =============================================== =============================================== FDISK -L Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes =============================================== LS -L /BOOT Code:
total 1928 =============================================== LILO.CONF Code:
# LILO configuration file =============================================== Thanx for your HELP Blue |
Few things.
You didn't remove "change-rules reset" And your console is set to "vga=790" and not "vga = normal" but probably doesn't matter. Can you post the output of "df -h" for us? What you got on that hdb1 Windows partition? And why is it bootable also? |
It's ok if his NTFS partition on hdb is bootable; he needs it to be able to boot Win from that drive.
We need to see what LILO command he's issuing. In this example, he should use Code:
lilo -v -t -b /dev/hda # this is a test to see what msgs you get Code:
lilo -v -b /dev/hda # no errors from test, do it for real Don't rely on running lilo from the Slackware installation script. There are dozens of problem entries here- sometimes LILO complains and the error doesn't get percolated properly. Run the commands as shown and check the output. |
Quote:
Quote:
Code:
mingdao@silas:~$ man lilo.conf Quote:
All that needs to be input with a proper /etc/lilo.conf is "lilo" as root. BlueSpirit, If you tried my "/etc/lilo.conf" what was the error output when you ran "lilo" as root afterwards? If you tried Randux's "/etc/lilo.conf" what was the error output when you ran "lilo" as root afterwards? Why do you insist upon the "change-rules reset" line? Have you made any changes to your BIOS? Please give the output of "df -h" here. The output of "fdisk -l" tells your partition table and file systems, but not the mount points of the filesystems. |
Try setting 'vga=normal' in your lilo and reboot. I've often run into the BSOD (black screen of doom) when I'm trying to run a video reslotion that's not supported by the kernel's detected video device. Switching to normal will always work.
In the fiture, you might want to do what I do and have a "safe" lilo boot config option where it has vga=normal defined just in case you compiled in the wrong frame buffer. Cheers |
Quote:
Anyway, since the can is now open: Quote:
Quote:
At any rate, I said that mine was a "minimal configuration." I probably did make a mistake by suggesting the framebuffer console as katayamma pointed out. But I'll bet the problem is boot sector not going in MBR. Quote:
Quote:
|
At any rate, let's leave our differences in opinion aside and get him booting.
BlueSpirit, the next thing after your line which says "Linux loading ......" or whatever you label it (you chose the default suggested Linux) is alway "BIOS data check successful" or something worded similarly. Which is why I wonder if you have some problem in your BIOS. Randux is correct in suggesting those two lines for loading LiLO from CLI. If you'll do that it will tell you what your error is. If it returns the output you posted earlier "for ScottReed" in post #6, then LiLO loaded with your configuration, and the problem is somewhere else. Notice, fellers, he hasn't yet reported a LiLO error... |
All times are GMT -5. The time now is 09:05 PM. |