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 09-23-2004, 02:22 AM   #1
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
major problem with slack 10 re-install


Howdy everybody.
My last tinkering episode rendered my slack installation useless. And since I had only been running it for a week or so, I decided to reinstall--much quicker than trying to fix all the problems I created. Anyway, I booted from the Slack CD's I used last time I installed, set up the keymap, and logged in as root. I'm planning on using the same partition table that I had before, so I guess I really don't need to run cfdisk, but I tried it anyway. cfdisk terminates in the fatal error: unable to read disk. But when I run fdisk -l it lists all my partitions. One swap, and two linux partitions (/dev/hdb1 *bootable and /dev hdb2).
Since the partition table is intact, I decide to go straight into setup and format (reiserfs) and install. Everything is installed without a hitch, until I get to the configuration section. No matter how I try to set up lilo, I get an error: Sorry, lilo could not be written. This happens in both simple and expert mode no matter how I configure it. I made sure to specify the bootable partition, the location, etc. Last time I installed I got the same error so I had to change lilo.conf to show the MBR location as /dev/hda (it was originally set to /dev/hdb). This time around, no matter what I set as my MBR location, lilo cannot be installed, and everytime I boot I get the same error again.
I can't remember exactly what it said, but it was something along the lines of: searching for boot on ide 0...OK and then nothing but pairs of 9's:
99 99 99 99 99 99 99 99 (for half a screen) Last time changing the MBR location to /dev/hda solved the problem. But this time, no matter how I configure lilo with liloconfig, and no matter what I change in the lilo.conf file, I still get the same boot...99 99 99 99. Irritating.
I guess my question is: Could this be related to the cfdisk issue being unable to read the disk? I kind of doubt it since I can mount /dev/hdb1 using the Slack installation CD kernel, and everything seems to be installed. Maybe I'm missing something obvious in my lilo config. If anybody has any ideas, please let me know.
-Kris
 
Old 09-23-2004, 11:40 AM   #2
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
Create a boot floppy when you install and use that! Are you creating a dual boot system?
 
Old 09-23-2004, 12:17 PM   #3
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
Your main (/) partition might be too small. I got a lilo write error when I made my / partition only 4GB. Problem was it had no room to write. But then again your setup did work before so that's rather odd... Sorry I couldn't be of anymore help ;\
 
Old 09-23-2004, 01:33 PM   #4
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
Yeah, as far as the boot floppy, I should have made a new one. I figured that I'd just use the one I made last time I installed, since everything was going to be the same, but it won't work. And I can't figure out how to make a new one without going through the whole install process again. So as of right now, all I can do is boot with the installation disk and mount dev/hdb1 using the mount dev/hdb1 /mnt -t reieserfs command. I figured I could just get into /mnt/etc and edit my lilo.conf file and reboot it, but no matter how I set up lilo.conf, it won't boot.
For size, I have 8 gb for my / partition, so space shouldn't be an issue.
And I still can't figure out why cfdisk will not read my disk.
Idea...once I have dev/hdb mounted at /mnt, can I run pkgtool to create a boot floppy? I can't remember if that's an option with pkgtool or not. I have a couple classes yet this afternoon, so I'll have to check when I get home.
Maybe I should reinstall...I'm sort of worried about the cfdisk errors. But I've tried it twice and I get the same error: can't read disk. It's weird because fdisk -l lists all my partitions. And my HD is recognized during boot from the bare.i kernel on the CD...heh obviously if I can mount it. Jeez louise. Why the hell won't cfdisk read the disk?
 
Old 09-23-2004, 08:13 PM   #5
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
Fixed. For some reason, I had to specify "cfdisk /dev/hdb" to get cfdisk to work. Re-partitioned, reformatted, reinstalled, reconfigured lilo, and I'm up and running again. Almost back to normal. Got pretty much everything back the way I had it except for Mathematica fonts and mplayer, which hopefully I can finish tonight.
Thanks for the help everybody.
 
  


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
Updating 9.1 to 9.2 pro (major problem), Monitor freaks out during install cwolf78 Linux - Software 0 04-25-2005 11:42 PM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM
Major filesystem problems on fresh slack 10 install kersten78 Slackware 3 01-04-2005 04:30 AM
Go crazy with Red Hat Linux 9 in 24hrs (aka major install problem) hyper guy Red Hat 5 08-22-2004 04:19 PM
Real major problem in Slack 9.0, please help... The SIN Raven Slackware 4 08-17-2003 12:49 PM

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

All times are GMT -5. The time now is 04:43 AM.

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