LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-08-2007, 03:30 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
slamd64 fails to boot after installation


Hi folks,

slamd64-11.0
AMD Athlon64 x2 AM2 3800
Corsair PC-6400 (800) dual channel 1Gx2 (2G) RAM
HD - SATA

I have the captioned DVD iso image download on Internet with md5sum checked without error. The image was burned on DVD with K3B.

I installed the OS twice but unable to boot displaying a black screen with "99 99 99 99 99 99 99 99 etc." on it. LILO bootloader has been installed. Reboted the DVD installer and started "setup" again. I was not allowed to evoke "Configure". Highlighting "Configure Reconfigure your Linux Sytem" and hitting "OK", it jumped to "Help" row.

Please help. Would it be the problem of the DVD installer? TIA.

I'm now downloading another DVD iso image.

Remark: The PC was previous running Slackware-11.0 (32bit) without problem.


B.R.
satimis
 
Old 02-08-2007, 03:42 AM   #2
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
Try to log into your existing configuration using a kernel from cd and rerun "/sbin/lilo", this usually happens to me if i forget to rerun lilo after altering lilo.conf file. if you still have the slackware cd/dvd, you can use that one, there's an explanation on how to do it on the first screen that loads when you're booting fom the cd.
 
Old 02-08-2007, 04:06 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi jets0n,

Tks for your advice.

Quote:
Try to log into your existing configuration using a kernel from cd and rerun "/sbin/lilo", this usually happens to me if i forget to rerun lilo after altering lilo.conf file. if you still have the slackware cd/dvd, you can use that one, there's an explanation on how to do it on the first screen that loads when you're booting fom the cd.
I still have the DVD.

Steps to be performed:-
- boot
boot the DVD
- login as root

How can I change to the HD to run the command "/sbin/lilo"

TIA


B.R.
satimis
 
Old 02-08-2007, 04:13 AM   #4
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
when you boot from the slackware dvd (at least in my case), there's a screen that asks you to "enter kernel you would like to boot or press enter to boot using the default 2.4.33 kernel" or something like that. there's also a line that says that "you can also use this to rescue your existing installation". the command used was something like "huge26.s(or any other you prefer to use, this is just my preferred kernel image) root=/dev/sda#(the number of your root partition) noinitrd ro". i believe this is correct. if you're not sure which number your root partition is,boot from the cd and run "cfdisk", it should help you figure it out . hope this helps

edit: if this fails (allthough it should not), try booting the dvd normally,login as root and do "mkdir temp" and then mount your root partition by "mount /dev/sda#(number of your root partition) /temp". then you can change to temp directory, and you should be able to see the contents of your root partition (including /sbin folder inside which is lilo located . or, if you get lazy at that point , it shold also work by simply issuing "/temp/sbin/lilo")

Last edited by jets0n; 02-08-2007 at 04:20 AM.
 
Old 02-08-2007, 04:20 AM   #5
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
Quote:
How can I change to the HD to run the command "/sbin/lilo"
Boot from DVD and type at the command line ("boot:..."):

Quote:
boot:huge26.s root=/dev/sdaX noinitrd ro
(X stands for the number of the partition where you installed slamd64)

Uups, jets0n, Your were faster ;-)

Last edited by syvy; 02-08-2007 at 04:23 AM.
 
Old 02-08-2007, 04:41 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi syvy,

Your advice works. Tks.

Quote:
Boot from DVD and type at the command line ("boot:..."):

(X stands for the number of the partition where you installed slamd64)

Uups, jets0n, Your were faster ;-)
Boot: huge26.2 root=/dev/sda2 noinitrd ro

It booted to runlevel 3 with login: popup

Now I wonder how to proceed further.

Partitions:
Code:
/dev/sda1  /boot
/dev/sda2  /
/dev/sda3  /var
/dev/sda5  swap
/dev/sda6  /home
I suppose MBR is on /boot.

Whether
# cd /boot
to run
# /sbin/lilo

TIA

B.R.
satimis
 
Old 02-08-2007, 04:58 AM   #7
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
Boot: huge26.2 root=/dev/sda2 noinitrd ro is ok, after logging in simply type "/sbin/lilo" (without the ""). it should list something like
"Added Windows*
Added Linux"
if it does that, you should be ready to go
 
Old 02-08-2007, 05:11 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi jets0n,

Login as root

# /sbin/lilo
Code:
Warning: Partition 2 on /dev/sda is not marked Active
Added Linux*
Rebooted PC. Still failed displaying "99 99 99 99 etc." on a black screen.

IIRC Partition 2 should be /
But /boot should be marked active.

How to check and rectify the problem. TIA


B.R.
satimis
 
Old 02-08-2007, 05:27 AM   #9
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
hmmm...weird. try rebooting, logging in again and run "liloconfig"(that way you can reinstall lilo) (on MBR, especially if you're using xfs filesystem) and rerun "/sbin/lilo"
 
Old 02-08-2007, 05:46 AM   #10
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by jets0n
hmmm...weird. try rebooting, logging in again and run "liloconfig"(that way you can reinstall lilo) (on MBR, especially if you're using xfs filesystem) and rerun "/sbin/lilo"
Hi jets0n,

tried selecting "save LILO automatically"
then
"Root Install to superblock (not for use with XFS)"

Rebooted PC. Still the same "99 99 99 99 etc." displayed on a black sceen.

I'm running ext3 on all partitions including /boot

Tks.


Edit:

Would it be /boot partition not tagged "*"? If it is found on "fdisk -l" can I tag it running "fdisk /dev/sda" without damaging the content inside this partition? Tks


B.R.
satimis

Last edited by satimis; 02-08-2007 at 05:49 AM.
 
Old 02-08-2007, 05:51 AM   #11
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
I have a sata drive too, and installing lilo to mbr didn't work here.
My lilo is on sda1 where my system is (I have only / and swap).
 
Old 02-08-2007, 05:58 AM   #12
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi syvy,

Quote:
I have a sata drive too, and installing lilo to mbr didn't work here.
In my case where shall I install LILO? To /boot? How to make it? Tks.


Edit:

/boot found tagged with "*"

satimis

Last edited by satimis; 02-08-2007 at 05:59 AM.
 
Old 02-08-2007, 06:22 AM   #13
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
It might be a good idea to install lilo on a floppy first to see if it's really a lilo problem.
 
Old 02-08-2007, 06:27 AM   #14
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by syvy
It might be a good idea to install lilo on a floppy first to see if it's really a lilo problem.
Hi syvy,

I don't have a floppy drive here. I'll try to get one from another PC to see what will happen. Will come back later.

One thing I forgot to mention. Slackware-11.0 (32bit) worked on this box without problem. IIRC I also use "Auto save LILO" on MBR

B.R.
satimi
 
Old 02-08-2007, 09:04 AM   #15
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi syvy,

Saved LILO on a floppy and restarted PC. This time it booted to runlevel 3 without problem. Now how to put it back to /dev/sda1 (/boot) and make /boot detected starting the PC.

TIA

B.R.
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE USB installation boot up fails dep. on IDE or SATA oozie Linux - Kernel 0 10-23-2006 06:00 PM
Slamd64 RC4 won't boot? cheater1034 Slackware - Installation 7 03-02-2006 11:24 PM
Mandrake 10.0 Community installation - boot floppy fails at reckognizing SCSI CDROM nixguide Mandriva 5 06-03-2004 12:38 PM
Installation success, boot load fails nimonm Linux - Newbie 2 01-12-2004 10:43 PM
RH9 installation fails on boot JezzerP Linux - Distributions 1 07-06-2003 07:20 AM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration