LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-29-2003, 09:48 AM   #1
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
Slackware and GRUB


Slackware installation process goes without a hitch (sort of).

However, I skip the part where I am asked to create a bootdisk.

After everything else is completed in the install process I restart my machine.

When I boot, I boot into GRUB and not the OS?

Any idea why? Should I have created that boot disk to boot the kernel?

Any help would be appreciated.

Thanks!

Mike
 
Old 12-29-2003, 10:54 AM   #2
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
anyone?

anyone?
 
Old 12-29-2003, 12:11 PM   #3
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
Slackware installation

Slackware installation process goes without a hitch (sort of).

However, I skip the part where I am asked to create a bootdisk.

After everything else is completed in the install process I restart my machine.

When I boot, I boot into GRUB and not the OS?

Any idea why? Should I have created that boot disk to boot the kernel?

Any help would be appreciated.

Thanks!

Mike
 
Old 12-29-2003, 12:12 PM   #4
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
cmd's

Any commands for GRUB that need to executed?
 
Old 12-29-2003, 01:23 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Always a good idea to create a bootdisk. You can create one after install with syslinux. Do a search on grub and you will find help for setting it up.
 
Old 12-29-2003, 04:20 PM   #6
Mortus Canis
LQ Newbie
 
Registered: Jun 2003
Location: Gonzaga University
Distribution: Slackware, RHEL
Posts: 23

Rep: Reputation: 15
The slackware cd should work as a bootdisk. Put in the cd, turn on, and then at the boot= prompt type "root=/dev/xxx".
 
Old 12-29-2003, 05:14 PM   #7
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
It's because grub is in your MBR.

You need to use a boot disk that gives you an environment(morphix, bbc linux, damnsmall linux) or if you have slackware disk 2 it is a live cd as well, and then mount the hard drive, chroot onto it.
Then do these commands:
"lilo -A /dev/hda1"
replace hda1 with whatever your hard drive is

That activates the partition and should now load lilo on boot. During the install of slackware you chose to install lilo to "root" instead of "MBR".
 
Old 12-30-2003, 06:46 AM   #8
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
After booting with the Lilo floppy, using startx I was able to boot into KDE.

Namaseit:

So will this "lilo -A /dev/hda1" cmd allow this kernel to boot from the hda1?

Also, I have recently started an installation of Fedora. I was wondering if part of that installation could still be there even though I formatted the drive with fdisk and partitioned the drive with cfdisk?

Thanks for your reply.

Mike-
 
Old 12-30-2003, 07:01 AM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
mikedeatworld,

I have merged the two threads that you had open for this one question, one in the 'Slackware' forum and one in 'Slackware installation'. Please don't post the same question in more than one place, people will just waste time giving you the same answer in one thread as you've already had in the other.

cheers

Jamie...
 
Old 01-06-2004, 07:05 AM   #10
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
First thanks for merging the threads.

Second. I have reinstalled slack. However this time I made the boot disk. I can boot with it and the OS loads into KDE with startx. However, I would like to install the kernel on the hda1 or another partition.

I have created a partition /boot of a 100MB and made this partition bootable. But i dont know how to install the kernel on this partition.

Should I make my root partition bootable and install the kernel there? IF so how do I install the kernel on this partition.

I guess my question is, how do I install the kernel so that it will boot of of my hard drive and not a floppy?

Thanks for the help!

Mike
 
Old 01-06-2004, 09:02 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Run liloconfig again and choose to install lilo to the MBR instead of to the floppy. Or manually edit /etc/lilo.conf and change the line
boot=/dev/fd0
to:
boot=/dev/hda
In liloconfig where it asks which partition to use as root point it to the / partition.
Then run
lilo -v -t
to verbosely test it. If no errors then run:
lilo or /sbin/lilo
to actually install lilo there.
 
Old 01-09-2004, 10:46 AM   #12
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
you know...this answer was simple. install on the mbr. for some reason i did not select this option. thanks guys!
 
  


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
Slackware installation sparky853 Slackware 5 02-22-2004 02:42 PM
slackware installation, or package installation?? mipia Slackware - Installation 1 12-15-2003 06:54 PM
Slackware 9.0 Installation bige Slackware 8 05-02-2003 06:11 AM
slackware installation knueven7 Linux - Software 2 04-04-2003 09:32 AM
Slackware Installation Ed-Slack Slackware 6 12-16-2002 04:51 AM

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

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