LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-13-2006, 07:55 AM   #1
aslocum
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
install with grub


i really want to test slack 10.2 but i dont want slack to install lilo...
can anyone write down the grub.conf for a slack 10.2 install?
is there any special boot param or just

title Slackware 10.2
root (hd0,0)
kernel /vmlinuz-whatever root=/dev/sda4 ro quiet vga=0x31B
initrd /initrd.img-whatever
savedefault
boot

thx
 
Old 02-13-2006, 08:04 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
some tips

no need for boot that is for command mode only
no need for savedefault unless you made a mistake on which distro/kernel to boot into
delete quiet so you have verbose messages

I have a slackware type in my tut but more critical is to know why you have that root command from the tut
 
Old 02-13-2006, 06:11 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
See if this helps:

Installing GRUB
 
Old 02-14-2006, 06:46 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
that link has a 2.4 series kernel and has a parameter of scsi emulation for your your burner....it should not be necessary anymore
 
Old 02-14-2006, 03:05 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
it should not be necessary anymore
Because. . .?
 
Old 02-14-2006, 08:22 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
http://www.brunolinux.com/02-The_Ter...Kernel_26.html
 
Old 02-15-2006, 07:14 AM   #7
Bremsstrahlung
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: Debian & Slackware
Posts: 77

Rep: Reputation: 15
A good cheap roundabout way to get grub installed and working on your machine is this: finish the Slack installation with no boot loader. Get a linux live cd (Knoppix), and boot up from that. Mount your boot partition in Knoppix. Now, Knoppix has two programs. The names may vary, but there's one to install grub in a target directory, and one to generate a grub.conf file.

Run the grub install program from root in knoppix and target the proper directory in your slack boot partition (you might have to make it NOT read only first). Once that's done, copy the program that generates the grub.conf file into /usr/sbin of your boot partition (don't worry, this won't cause any problems). Not chroot into that partition and run the program. BAM! Instant grub.conf. A couple of tweaks and you're good to go!
 
Old 02-15-2006, 11:40 AM   #8
BobL
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10.0
Posts: 11

Rep: Reputation: 0
Curious....

Hi all,

Just noticed that this grub question might help me answer a question of my own. If I am posting this in an inappropriate place, I apologize.

My grub conf looks like this (borrowing some from aslocum)

root (hd0,0)
kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773
initrd /initrd.img-whatever

and the linux system boots just fine. However, I had thought that the root parameter has to match the root line in the kernel line... as below

root (hd0,2)
kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773
initrd /initrd.img-whatever

Since Grub counts from 0 on up, the 3rd partition would be 2 ( 0,1,2).

If I use that, however, the system hangs with an Error 15 file not found.

Just hoping someone has run across this before, or that I have missed something REALLY obvious!

Thanks.

BobL
 
Old 02-15-2006, 06:47 PM   #9
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
A lot of people still use the 2.4 series kernel. I for one intend to continue doing so until Slackware is officially released with 2.6 support. I simply do not possess the time to tinker with the new kernel and with old boxes, the 2.4 kernel still works well.

Quote:
If I use that, however, the system hangs with an Error 15 file not found.
I once ran into similar issues. This journal entry shares the story, although not providing complete solutions:

Migrating to GNU/Linux-Day 31

Just a thought about your menu.lst config file. I don't know your partition scheme, but GRUB and kernel images usually are installed in the /boot directory. Thus, a first guess is that your entry for:

kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773

possibly should read:

kernel /boot/vmlinuz-whatever root=/dev/hda3 ro vga=773

If your vmlinuz image files are located in the /boot directory then that would explain your "File not found" error messages.
 
Old 02-16-2006, 05:32 AM   #10
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
the question on root (hdX,y) and the root= is covered in my ummm tutorial heh heh

the first sets the partition where the grub booting files are and the root= sets the partition that / is
 
Old 02-16-2006, 12:50 PM   #11
BobL
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10.0
Posts: 11

Rep: Reputation: 0
Smile

Oops,

Should have seen that. Makes sense too, as I do have a /boot partion. Oh well, it WAS something obvious.
Thanks for the help!
 
  


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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
[GRUB]how to install grub onto another partition Liquid_T<NL> Linux - Newbie 1 09-05-2005 09:46 AM
Accidental Install of Windows Second....Install GRUB? Brnzwngs Linux - Newbie 6 08-12-2005 01:10 PM
Where should be Grub install..???? avols143 Linux - General 1 10-22-2004 06:28 PM

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

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