LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-15-2015, 09:17 AM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
Slackware won't boot, blinking dash on screen


If you guys remember my past posts, I've stated my hard drive has been having bad sector errors...well now I think the drive has finally died. I rebooted the machine and the only thing that appears after the BIOS menu is appears blinking dash. I then booted to a livecd distro and mounted the drive and all of the files still seem to be there...strange maybe it isn't dead. Could it just maybe be that LILO got messed up this time around?

I don't have much time but I read a slackware wiki how to reinstall LILO, I will try that when I have time.

Last edited by Altiris; 11-15-2015 at 09:19 AM.
 
Old 11-15-2015, 02:12 PM   #2
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Never mind. I didn't read the OP carefully enough.

Last edited by TracyTiger; 11-15-2015 at 02:14 PM.
 
Old 11-15-2015, 02:13 PM   #3
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TracyTiger View Post
As a quick and easy first troubleshooting step ... after you boot from your live CD or from the Slackware boot CD/DVD you could try to detect or access the suspect disk drive and possibly try to mount the existing file system on the suspect hard disk.

No use messing with LILO if the disk can't be accessed.
Quote:
Originally Posted by Altiris View Post
...I then booted to a livecd distro and mounted the drive and all of the files still seem to be there...strange maybe it isn't dead.
I am confused what you are saying. It is mountable so that means it is still working right?

Last edited by Altiris; 11-15-2015 at 02:19 PM.
 
Old 11-15-2015, 02:26 PM   #4
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by Altiris View Post
I am confused what you are saying. It is mountable so that means it is still working right?
Altiris, My mistake I didn't read your post carefully enough to see that you had already successfully mounted the file system on the disk. Sorry for the noise.
 
Old 11-15-2015, 04:09 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
It might be that the boot sector is the one that failed. You'd be able to mount the partitions, but the drive will not be able to be used to boot.

You can re-install LILO to see if that fixes the problem.
 
Old 11-15-2015, 05:19 PM   #6
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Well if this rules something out... yesterday i had the exact same issue. I spent about an hour pondering what caused it. Suddenly i realised that my external harddrive underneath the desk had not been turned off last night when i shut down the computer, and the BIOS was trying to boot from it. I turned it off, and LILO appeared as normal.

You might want to double check any devices that are plugged in, and then adjust your boot priority for those devices.
 
Old 11-16-2015, 10:23 AM   #7
tdos20
Member
 
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 132

Rep: Reputation: 39
The blinking cursor does sounds like a lilo issue - check which device is tbeing booted first by the bios, then try re-installing lilo in a chroot environment - this is something like the process:
http://blog.tpa.me.uk/2009/09/29/re-...kware-boot-cd/
 
1 members found this post helpful.
Old 11-20-2015, 10:27 AM   #8
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Alright guys quick update. I have bought a new hard drive and ran fsck on the old corrupted drive to fix any errors (there were quite a few) and then proceeded to copy via rsync all of the contents from the corrupted drive to the new hard drive I bought. Rebooted with ONLY the new drive (old one is set aside) and the computer still boots with the - cursor. Okay fine...I'll just use the Slackware CD to chroot into the system or boot the system that way right? I tried following this, http://www.slackwiki.com/Reinstalling_Lilo but this is not working.

I tried doing huge.s root=/dev/sda1 noinitrd ro but it did not boot my system, it just booted the regular installer...why?
 
Old 11-20-2015, 10:32 AM   #9
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Did you re-run setup after replacing the drive?
 
Old 11-20-2015, 10:34 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Altiris View Post
... and then proceeded to copy via rsync all of the contents from the corrupted drive to the new hard drive I bought.
Bad idea, as you did copy all the errors from the old drive to the new one.

Make a new, clean installation to the new drive (when asked at the TARGET installation step, do format it), then copy from the old drive to the new one what you want to keep, not blindly with rsync, but checking each file in the process.
 
Old 11-20-2015, 10:34 AM   #11
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by psionl0 View Post
Did you re-run setup after replacing the drive?
No? I just copied all of the contents from the old drive to this new one. I am trying to chroot now using this I found http://blog.tpa.me.uk/2009/09/29/re-...kware-boot-cd/ but I am getting "chroot: can't execute '/bin/bash': Exec format error"

Ahh wait I forgot something about the /etc/fstab, it is using UUIDS and not /dev/sda...maybe this is the problem? Ill boot into a livecd of another distro I have to correct the problem real quick.

EDIT: I was booting into 32bit version of Slackware. The Slackware CD is made too easy lol. THe CD has the top and bottom labelled as 32/64bit I thought if it was on the bottom id need to flip the cd but no its the opposite.

Last edited by Altiris; 11-20-2015 at 10:52 AM.
 
  


Reply



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
[SOLVED] Blank screen with a blinking cursor after installing Slackware 13.1 Aquarius_Girl Slackware - Installation 18 07-20-2010 05:58 AM
After Installation Slackware Won't Boot & Lilo won't install nikiiliev Slackware - Installation 6 03-04-2006 12:24 AM
grub (blinking cursor) - won't boot php4u Fedora - Installation 2 04-04-2005 10:23 AM
Blank screen with blinking cursor on boot (yoper) Fisslefink Linux - Newbie 3 02-15-2005 05:16 PM
Boot up with a black screen and the word 'GRUB' followed by blinking cusor davidas Debian 6 07-11-2004 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration