Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-10-2003, 03:56 AM   #1
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
quick and dirty guide on installing grub

this quick and dirty guide assumses you are using debian and you've installed grub using apt-get already and seperated at least the boot partition like described in this thread

cp -pr /usr/lib/grub/i386-pc/ /boot/grub/
        grub --no-floppy
                find /grub/stage1
                root (hd2,5)
                setup (hd0)
I found the stage1 file on hd2,5 that's how the hd2,5 arives here. And of course I'd like to install the bootloader in the MBR of the 1st disk thus hd0.

now you should create a /boot/grub/menu.lst
               color           light-gray/blue yellow/brown
                default         0
                fallback        0
                password        --md5 your_md5_hashed_pw_here
                timeout         5

                title Debian 3.0r1 (Debian Kernel)
                        root (hd2,5)
                        kernel (hd2,5)/vmlinuz-2.4.18-bf2.4 root=/dev/hdd5
This is just my preference here with colors and all. My root partition is hdd5 as you can see in in this thread.

So what's left yet?
Well you should set some more restrictive permissions on the directory /boot of course :-)

chmod o-rx /boot -R

any comments, questions, suggestions so far ?


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Quick and Dirty Guide to Linux File Permissions bulliver LinuxAnswers Discussion 32 12-19-2011 10:36 PM
Quick guide to installing LFS 6.0 shotokan Linux From Scratch 2 08-03-2005 01:12 AM
Quick and dirty cryptography guide. Linux.tar.gz Linux - Security 4 03-25-2005 02:16 PM
quick and dirty! Smerk Debian 4 07-03-2003 08:33 PM
quick and dirty guide on installing GRUB markus1982 Linux - Software 1 05-26-2003 11:56 AM

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