LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-16-2006, 12:53 PM   #1
punksoul257
Member
 
Registered: May 2006
Location: Peterborough, UK
Distribution: Win XP / Kubuntu 8.4
Posts: 46

Rep: Reputation: 15
Problem with boot.


I've just reinstalled as i made some mistakes & thought i'd do a clean install. But thats where my problems started.
First few reinstalls i'd go to boot up & i'd get a screen full of 99's (that was just before lilo). On the last install the installation detected my 160gb USB drive & my 40gb Windows drive. Now i've got it installed, it gets to detecting the USB devices hot.... something or other & it freezes.

What i done wrong? should i reinstall & leave all USB devices disconnected untill i'm into the OS??

I discovered it was hotplug causing my troubles. so i did a reinstall again & from what i could see my mouse wasn't discovered so when i typed in startx it wouldn't get into KDE.

Last edited by punksoul257; 05-16-2006 at 02:13 PM.
 
Old 05-16-2006, 02:28 PM   #2
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Sounds kinda like the format with respect your drive geometry is all screwed up. IF you can afford to wipe the disk now, do the following...

Go into your motherboard's BIOS and make sure it's detecting the drive properly. Newer boards are kinda "hands off" about that and just show you the drive ID string (WD-2500JBblahblah etc) but the important thing is that if there's a setting that says "LBA" or "NORMAL" or "LARGE" set it to LBA.

(I know, this sounds insane, but I've had to do this to about a dozen machines in the last several years--including SCSI disks. Moving a drive from one machine to another can sometimes induce this problem--not everyone's implementation of LBA appears to be the same, especially with older boards. YUCK!)

Next, boot your Slackware CD, and login as root (on the CD, don't boot the disk), and from that prompt if your drive is /dev/hda, do the following:

Code:
dd if=/dev/zero of=/dev/hda bs=512 count=1024
WARNING: (as if you didn't clue in already) that will BLOW AWAY everything that matters on the disk.

Now, power the machine off and power it back up. The BIOS and your drive and the OS should all be on the same page as to what the geometry of your disk is. Run fdisk and partition normally. You shouldn't have any more crazy LILO problems unless you've got a bad (or 40-pin) IDE cable or imminent hardware failure.

By the way, if you were messing around with hdparm before, that was probably where your problem came from. Trust the kernel and the hardware to do the right thing at that level.

Last edited by evilDagmar; 05-16-2006 at 02:30 PM.
 
Old 05-16-2006, 04:23 PM   #3
punksoul257
Member
 
Registered: May 2006
Location: Peterborough, UK
Distribution: Win XP / Kubuntu 8.4
Posts: 46

Original Poster
Rep: Reputation: 15
what i was doing was just trying to clean install. I will try that trick when i do my reinstall. I think it might have been because i made lilo change the mbr as the last times i was using option 1 in the lilo set-up (can't remember what it is exactly).

I will report back when i've tried it.
 
Old 05-17-2006, 04:47 AM   #4
punksoul257
Member
 
Registered: May 2006
Location: Peterborough, UK
Distribution: Win XP / Kubuntu 8.4
Posts: 46

Original Poster
Rep: Reputation: 15
I don't understand how or why it worked, but your trick worked. Thank you kind sir. slackware even detected my windows ntfs drive (just a shame about the 160gig usb drive).

But i think it detected it as a SCSI drive though. All confused.

Once again, thank you evilDagmar.
 
Old 05-17-2006, 04:51 AM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
The kernel (2.4 series) detects all usb storage as 'scsi'. No problem, just a quirk of that kernel series.
 
Old 05-17-2006, 08:44 AM   #6
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by punksoul257
I don't understand how or why it worked, but your trick worked. Thank you kind sir. slackware even detected my windows ntfs drive (just a shame about the 160gig usb drive).

But i think it detected it as a SCSI drive though. All confused.

Once again, thank you evilDagmar.
I don't even know for sure why it works. There's something very obscure going on with the way x86 machines track disk geometry that I just haven't found the skinny on yet. From what I know of things, this shouldn't be able to happen, but like I said, I've had lilo refuse me several times in the past complaining about what amount to geometry problems. My only guess is that a number of boards are writing something to sector 0 about disk format geometry (or maybe the disk is keeping it in it's limited flash space for all I know) and by erasing that and powering the machine off, it has to start with a clean slate.

As to USB disks (as well as SATA), get used to them appearing as SCSI devices. That's apparently the way it's going to be from here on out. At least with the 2.6.x kernels and things like HAL/messagebus you actually have a chance of them being autodetected and automounted.
 
Old 05-17-2006, 09:57 AM   #7
punksoul257
Member
 
Registered: May 2006
Location: Peterborough, UK
Distribution: Win XP / Kubuntu 8.4
Posts: 46

Original Poster
Rep: Reputation: 15
unfortunatly it doesn't mount my usb hd. But to be honest that can be sorted at another date. I'm just glad Slackware is working again.
 
Old 05-19-2006, 09:09 AM   #8
punksoul257
Member
 
Registered: May 2006
Location: Peterborough, UK
Distribution: Win XP / Kubuntu 8.4
Posts: 46

Original Poster
Rep: Reputation: 15
Right i have another boot problem.

It goes to detect my hardware & just freezes. I had just previously installed swaret & update went fine (as far as i could tell) so i closed down & did a reboot & now it gets 2 the hardware detect bit & just freezes.

Is there any way i can get round this or fix it (even better). I really don't wanna do a clean install again.
 
  


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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 07:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 06:50 PM

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

All times are GMT -5. The time now is 03:24 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