LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-01-2007, 02:57 AM   #1
djre
LQ Newbie
 
Registered: Sep 2007
Posts: 25

Rep: Reputation: 15
Installing Grub from Slackware DVD


Hi! Im trying to dual boot xp and slackware. So Im done installing slack. How do i go about installing grub? Id like to install it in a separate boot partition so i could have ntldr just "chainload" it(That's what I did with my previous fedora installation). I know there's a grub package in the slackware install disk. How do I install it from there?

Thanks in advance.
 
Old 11-01-2007, 03:40 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Whether or not you have a separate /boot partition depends on what was done when you installed. (Although with a little effort you could change that now, but there is really no need to.) What you want to do is install GRUB to either the /boot partition if it exists, or otherwise install it to "/" rather than installing it to the MBR.

See if this post helps.

If grubconfig is as straightforward as Ahmed says it is, it should give you the option of where to install GRUB.
 
Old 11-01-2007, 08:00 AM   #3
djre
LQ Newbie
 
Registered: Sep 2007
Posts: 25

Original Poster
Rep: Reputation: 15
cannot find kernel

thanks! the grubconfig worked. however, i have a new problem. grubconfig asks to refer a directory for the kernel(it says something like /boot/vmlinuz being the usual location). i think i wasn't able to install one as i can't find anything in /boot...

does the default install of slackware really not include kernel?
how do i install one? pls help.
 
Old 11-01-2007, 09:29 PM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by djre View Post
i think i wasn't able to install one as i can't find anything in /boot...

does the default install of slackware really not include kernel?
I've not yet used Slackware, but I can't imagine that the default (or any!) install doesn't include a kernel! Make sure you are looking at the actual Slackware partition(s) and not at the installation disk's filesystem. If you have the Slackware "/" partition mounted at (for example) /mnt/hda1, then you need to look at /mnt/hda1/boot. If this directory is empty, my guess is that Slackware installed the /boot directory on its own partition (a common -- but not required -- way to do things). If so, Slackware would mount this partition at /boot when it booted.

If you still can't find anything, see if you can get to a GRUB command prompt from the live DVD. I think you can do this by doing what you've already done (minus grubconfig) and then typing grub. The prompt should look like grub>. If you can get to this prompt, type

Code:
find vmlinuz
and post the results. You can exit grub with the command quit.

EDIT: following my example above, you can look at /mnt/hda1/etc/fstab to look to see if Slackware will mount anything at /boot and if so what partition it will use.

Last edited by blackhole54; 11-01-2007 at 09:31 PM.
 
  


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
Slackware 11 + Linux 2.6.17.13-smp + Benq DVD-ROM = Can't read dvd johndlagart Linux - Hardware 2 06-22-2007 01:37 AM
Installing GRUB - Slackware 10.2 BlueSpirit Linux - Software 7 07-30-2006 10:00 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Installing GRUB/Slackware 10 with Win 2k Pro Roblobob Linux - Newbie 6 09-30-2004 05:16 AM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration