LinuxQuestions.org
Visit Jeremy's Blog.
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 07-11-2005, 10:30 AM   #1
roc
Member
 
Registered: Dec 2004
Posts: 51

Rep: Reputation: 15
Grub Problems


Hello all, first timer at slackware so hopefully I will not annoy too many people. Anyway a little backgroud to my problem might help, I'm installing slackware 10.1 (I have CD 1 and 2 ) on to my laptop. I can get through the setup menu fine but when I exit the setup menu and reboot the system (no CD in the tray) I get a grub 17 error. Any help on this problem would be great because I'm looking forward to getting the OS working right.


P.S. I'm following the online book at the slackware site. Thank You
 
Old 07-11-2005, 11:19 AM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
It appears (from googling) that Grub does not recognize the filesystem (this has been reported in bugzilla). Here is one solution from the Gentoo forums used as a workaround.

---------------------------------------------
(by eck)

the partition types on all of my linux partitions (except the swap partition) were somehow changed from 0x83 to 0x93. This was easily fixed by changing the values back to 0x83 using fdisk, and now I can boot Gentoo fine. This seems to be a bug in GRUB, and I'll file a bug report tonight.

----------------------------------------------------
Another suggestion/solution is/was to reinstall Grub


Hope this is of some help.

Last edited by cuiq; 07-11-2005 at 11:29 AM.
 
Old 07-11-2005, 12:14 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you install grub after the slackware install or it was previously installed ?
 
Old 07-11-2005, 05:03 PM   #4
roc
Member
 
Registered: Dec 2004
Posts: 51

Original Poster
Rep: Reputation: 15
To tell you the truth now that I think of it I thought I did the simple install of LILO, and if I'm not mistaken aren't LILO and grub both boot loaders?
 
Old 07-11-2005, 06:28 PM   #5
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
lilo and grub are both bootloaders...but if you installed lilo, you wouldn't be getting grub errors...so somewhere along the way, grub got (or almost got?) installed. grab the grub from the slackware and try installing it...it's the version i use, with no problems...
 
Old 07-11-2005, 11:11 PM   #6
roc
Member
 
Registered: Dec 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Ok should i go through another install and DO NOT use LILO, or is there a way to salvage the system instead of going through another install? Thanks
 
Old 07-11-2005, 11:18 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Yes, basically Slackware is installed, it's just that Grub is not configured to load it.
I've never used Grub so I can't help you there.

If you want to use lilo, just boot with the CD 1 of Slackware, mount your harddisk, chroot to it, run liloconfig and install it to the MBR, that will overwrite Grub.
To do that issue the following commands:
Code:
mount /dev/hdXX /mnt
chroot /mnt
liloconfig
Replace hdXX with the device where Slackware is.
 
Old 07-11-2005, 11:34 PM   #8
roc
Member
 
Registered: Dec 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Ok I did what you said and now I'm getting a "installing a linux loader" message. Also for the LILO options I choose simple install is this alright? Before I forget when I was doing the commands you mentioned I was getting feedback saying could not mount /prc/partions is this going to mess everything up since it cannot load the partions correctly? Thank You
 
Old 07-12-2005, 09:14 AM   #9
roc
Member
 
Registered: Dec 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Does anyone knon if there any commnds I can run to check if LILO is hanging on me, because it has been installing the kernel for the last 5 hours now. Thanks
 
Old 07-12-2005, 12:05 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You could use top to check if it's doing something, but it likely hanged up by that time, it usually takes some seconds.
I usually don't recommend this, but you my want to try reinstalling Slackware and choosing to install LILO to MBR that time.
 
Old 07-12-2005, 05:29 PM   #11
roc
Member
 
Registered: Dec 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks to everyone who helped me out. I got lilo to work this time, I went with the MBR option. Thanks Everyone
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
grub problems grcunningham Linux - Software 5 08-07-2004 07:22 PM
GRUB problems Swishaa Linux - Newbie 12 05-10-2004 09:47 AM
Grub problems Evolution8 Slackware 3 07-06-2003 11:00 AM

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

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