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


  Search this Thread
Old 12-12-2006, 12:06 AM   #1
Registered: Jul 2005
Posts: 34

Rep: Reputation: 15
Grub install with separate boot partition

I really prefer to use grub and would like to install it in Slackware, but I'm unable to get it working right, and I would prefer to be able to keep the /boot partition. Can anyone help? I can do it manually, I've done it before, just not with a separate /boot partition. When I attempted to have grub automatically install itself, it didn't work.

My partition setup on my laptop is as follows:

/dev/hda1 windows
/dev/hda2 /boot
/dev/hda3 /
/dev/hda4 extended partition
/dev/hda5 swap
/dev/hda6 /home
Old 12-12-2006, 08:37 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,890

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
If you mean by 'automatically' that you are using the grubconfig utility thta comes with the slackware package for grub, I had probably the same problem. It always refused to install because it claimed that the /boot partition was mounted or something. I finally had to manually unmount the partition and remove the entry for it from fstab in order for the utitlity to work. At least that's the way I remember doing it. Or perhaps I just installed it manually using grubinstall.
One of my not-too-distant projects is to write an easier grub installer for linux. I wrote one before for installing grub under windows which was pretty slick, though quite a nightmare as it was written in a .bat batch file.
Old 12-13-2006, 10:00 AM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Do you mean that you want to install GRUB in the MBR w/ stanzas that point to
/dev/hda1 windows
/dev/hda2 /boot

What (MBR) boot manager/loader are you using now?

What boot loader are you using for Linux? (Yes, I know, these may be the same Q. )
Old 12-29-2006, 11:04 AM   #4
Registered: Oct 2006
Distribution: Slackware-11.0
Posts: 35

Rep: Reputation: 15
Try the following:

ln -s /boot /boot/boot
Grub (at least the version that comes with slack) doesn't like being installed on a separate partition, it seems. Also, you might have to alter your menu.lst after you do this, but just try it first. set the root partition in menu.lst to point to hda3, not the boot partition.

And make sure grub is installed inside /boot/grub.

Last edited by odd2k; 12-29-2006 at 11:08 AM.


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
[SOLVED] Moving /boot to separate partition and using 'grub' to boot eldiener Linux - General 4 11-28-2006 08:01 PM
[SOLVED] Creating and booting from a separate /boot partition eldiener Linux - General 5 11-12-2006 06:13 PM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 12:09 PM
Dual boot grub Mandriva WinXP separate drives McNider Linux - General 2 06-17-2005 04:49 AM
Install Grub/Lilo at the First Sector of the Boot Partition?? ckamheng Linux - General 2 08-21-2004 09:35 AM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration