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 07-25-2005, 03:17 AM   #1
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
[Solved] Grub + Slack = no booting.


[EDIT]
Turns out, GRUB detected everything as (hd0) instead of (hd1) like it should have....Silly Linux....Oh well, everything works now.
[/EDIT]

My menu.1st looks like this guy's.... http://www.linuxquestions.org/questi...vice+for+Fboot

But when I boot, it just does the "Verifying DMI Pool Data......." hang.

HDA is Win98
hdb is Slack
hdb1 is /boot
hdb5 is /
hdb (6-10) are varying partitions with 10 swap.

when I do grub-install it tells me that on line 435 it doesn't recognize 'cmp' as a command and that it didn't read stage1 right....

Through all of this my BIOS only likes to boot the first thing on the list, which I have set to HD-1, since that corresponds to hdb, correct?

Can anyone help this ?

Last edited by Diademed; 08-11-2005 at 11:24 PM.
 
Old 07-25-2005, 06:28 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
How did you install grub ? What is the content of /boot/grub directory ?
What is the output with /sbin/fdisk -l /dev/hdb ?

(To boot in your slackware system, insert slackware CD 1 or 2,
then type at the prompt : bare.i root=/dev/hdb5 noinitrd ro )
 
Old 07-25-2005, 12:49 PM   #3
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Yes, Ive been getting into it by chrooting.

Give me a few, and I'll get that information up.
 
Old 07-25-2005, 06:57 PM   #4
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
How did you install grub ? What is the content of /boot/grub directory ?
install by pulling the grub ******.tgz off a cd I burnt, did an installpkg grub***.tgz then went to /boot/grub configured my menu.1st, then did grub-install.

Contents of /boot
  • README.initrd
  • System.map
  • System.map-ide-2.4.29
  • config
  • config-ide-2.4.29
  • diag1.img
  • grub
  • grub-0.97-i48/6.tgz
  • vmlinuz
  • vmlinuz-ide-2.4.29

of /boot/grub:
  • default
  • device.map
  • e2fs_stage1_Z5
  • fat_stage1_5
  • ffs_stage1_5
  • grub.xpm.gz
  • iso9660_stage1_5
  • jfs_stage1_5
  • menu.1st
  • menu.1st.sample
  • minix_stage1_5
  • reiserfs_stage1_5
  • slack_nalug.xpm.gz
  • stage1
  • stage2
  • ufs_stage1_5
  • vstafs_stage1_5
  • xfs_stage1_5

its formatted to reiserfs.... should I be using that stage1? then what do I use for stage2?

Quote:
Originally posted by keefaz

What is the output with /sbin/fdisk -l /dev/hdb ?
It looks like it should...an output of my formatting scheme as I described above.
 
Old 07-26-2005, 04:42 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Could you try this command sequence as root ?

Code:
grub
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
 
Old 07-26-2005, 10:11 PM   #6
ibmercurial
Member
 
Registered: Sep 2004
Location: Harriman Tennessee
Distribution: mx17
Posts: 72

Rep: Reputation: 24
When I install slack I choose no install lilo.
boot from the cdrom and bareacpi.i root= yakyak.
Download grub ( I never seem able to save it to a floppy 4 some reason )
same as you installpkg grubyakyak.tgz
Then grubconfig.
I always tell grub install it to mbr
It never fails.. I reboot to make sure it works ( It always does )
Then I mess with the menu.lst and usually only to add hdc=ide-scsi ( I like 2.4 kernels )
 
Old 07-26-2005, 11:17 PM   #7
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
I second Keefaz instructions. You can not go wrong with the simplicity of the grub installation procedure mentioned above.
 
Old 07-26-2005, 11:53 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally posted by aikidoist72
I second Keefaz instructions. You can not go wrong with the simplicity of the grub installation procedure mentioned above.
Maybe ...
No argument with the simplicity angle, but personally I'd be putting it in the MBR of the first disk.
 
Old 07-26-2005, 11:59 PM   #9
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
You dont want to be stuffing around with Win 98 MBR. The BIOS can be set to boot from the second hard drive without affecting the Win 98 installation. Been there.............
 
Old 07-27-2005, 01:43 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'm more than happy playing with MBR(s).
But swapping the BIOS boot disk is a legitimate option - too fiddly for me, but o.k.
 
Old 07-27-2005, 02:07 AM   #11
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
grubconfig? is that a valid command?

Maybe that's my problem....nothing mentions that. I'll give it a try tomorrow.

Thanks!
 
Old 07-27-2005, 04:39 AM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Diademed, did you try the commands I suggested ?
 
Old 07-30-2005, 03:36 AM   #13
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I don't think I ever got into the GRUB shell.

Working 6 days a week, I havent had time to fool around with my box.
 
Old 07-30-2005, 11:10 AM   #14
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well, excuse me sir, but your thread's title is :
Grub + Slack = no booting

Now you say :
"I don't think I ever got into the GRUB shell."

Are you aware that the grub shell method is the safiest way
to set up grub in a running system ?

And as you are not able to boot, what could be worst anyway ?
 
Old 07-30-2005, 01:40 PM   #15
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I suppose I should have made it more clear.

The GRUB manual seems to contain naught of working instructions on hor to install it.

I've been trying to figure it out from a hodgepodge of sources, and I haven't actually gotten a 'grub-install' to work without errors yet, though I've tried editing my config file from there to no success.

I have monday and tuesday off this week, I will finally have time to work on it then, and hopefully get the problem licked.
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
sLACK NOT BOOTING UP slackermike Slackware 3 10-14-2005 02:33 PM
Need help booting Slack number11 Slackware 6 04-25-2005 11:51 AM
hangs while booting slack yisnixslow Slackware - Installation 8 03-23-2004 10:02 AM
Slack 9 CD isnt booting mehargags Slackware - Installation 1 03-21-2004 11:05 AM

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

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