LinuxQuestions.org
Help answer threads with 0 replies.
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 01-06-2011, 07:08 PM   #16
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49

Hello:

I think I need a 'time-out' to understand what is happening here.

I believe that my Slackware install went alright up to the LILO install, right?

During the LILO install, I chose 'expert' because in response to a previous question about dual-boot set ups, it was recommended that I do not install the boot loader to the MBR but instead, to the root directory of Slackware and,I assumed after reading the LILO install help, that the only way to do this was to use the 'expert' option, right?

By installing LILO to the superblock of the root partition (sda8), I was guaranteeing that Slackware would not (could not) start, right?

At this point, I thought that Slackware was 'fully installed and ready to go' but simply not bootable until an adjustment was made to the boot loader's menu.lst file, right?

Actually, I thought that I would just start OpenSuse and do 'update-grub' and Slackware would appear in the boot menu.

But now, I am getting the feeling that Slackware is not 'fully installed and ready to go', right?


Is the foregoing correct, even close?

Thanks,

Last edited by Robert.Thompson; 01-06-2011 at 07:42 PM. Reason: typo
 
Old 01-06-2011, 08:30 PM   #17
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
no your slackware is fully ready to go, you just need to make an initramfs. i am not sure why you installed with a bootloader, if you were attempting to use grub as the bootloader for all your OS's. also, i would not suggest chainloading slackware, as i think that will make you go from grub, to lilo, and then to slackware, which, while functional, is not the correct way to do it. you need to direct grub to slackware's vmlinuz and initramfs, and then slackware will work just fine.

or if you are not particularly attached to grub, you can always just reinstall slackware and use lilo as the bootloader, as that should auto-detect all the OS's on your computer.
 
1 members found this post helpful.
Old 01-06-2011, 09:12 PM   #18
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you installed lilo to your root partition all you need to do is chainload that partition using your grub. To chainload the menu.lst entry would look similar to Windows except the hd partition numbers would be different.

In my prior post it gives you an easy way to do this using YaST.

You are right, do not rush things that you do not understand, it will save you a lot of problems later.

Last edited by Larry Webb; 01-06-2011 at 09:14 PM.
 
1 members found this post helpful.
Old 01-06-2011, 09:32 PM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
###My slackware attempt
title Slackware
root (hd0,8)
kernel /boot/vmlinuz-generic-2.6.33.4
This entry should work if you change the kernel line to
Quote:
kernel /boot/vmlinuz root=/dev/sda9 vga=normal
Yancek chainloader entry should also work, but adds an extra step to the booting process by chainloading from suse's grub to slackware's lilo and then booting slackware.

If you have already created a /boot/initrd.gz file then this entry should work

Quote:
title Slackware
root (hd0,8)
kernel /boot/vmlinuz-generic-2.6.33.4 root=/dev/sda9 vga=normal
initrd /boot/initrd.gz
The generic kernel has to have the initrd.gz to boot, but the huge kernel doesn't, which is what /boot/vmlinuz points to. Root=/dev/sda9 tells the kernel what partition the root file system is located on. Hope this helps.
 
1 members found this post helpful.
Old 01-06-2011, 09:40 PM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Took a another look at your text file, and if I'm reading it correctly then change your entries to this
Quote:
title Slackware
root (hd0,7)
kernel /boot/vmlinuz-generic-2.6.33.4 root=/dev/sda8 vga=normal
initrd /boot/initrd.gz
or
Quote:
title Slackware
root (hd0,7)
kernel /boot/vmlinuz root=/dev/sda8 vga=normal
I was assuming your Slackware is on /dev/sda9 but it appears to be on /dev/sda8.

Last edited by colorpurple21859; 01-06-2011 at 09:42 PM.
 
1 members found this post helpful.
Old 01-07-2011, 01:02 AM   #21
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by colorpurple21859 View Post
This entry should work if you change the kernel line to

Yancek chainloader entry should also work, but adds an extra step to the booting process by chainloading from suse's grub to slackware's lilo and then booting slackware.
You did fail to mention that if he decides to chainload he will not have to change boot menu as long as what ever he puts into that partition has its boot loader in / whether up grading or changing distros. What happens when he has to boot an ext4 file system?
 
Old 01-07-2011, 07:46 AM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
What happens when he has to boot an ext4 file system?
Don't know what you mean. I'm able to boot ext4 file systems with both grub legacy and and grub2
 
Old 01-07-2011, 08:25 AM   #23
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I have never been able to get a grub legacy to boot an ext4 partition direct. I have chainloaded them with legacy. I finally gave up the fight and switched to grub2 but still chainload all my distros.
 
Old 01-12-2011, 06:24 PM   #24
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by trademark91 View Post
...or if you are not particularly attached to grub, you can always just reinstall slackware and use lilo as the bootloader, as that should auto-detect all the OS's on your computer.
(Hi again) I tried the above but lilo did not find OpenSuse but it did find Windows.

Because I didn't really like OpenSuse, I decided to install Linux Mint Debian to the OpenSuse partitions and let the LMDE grub install take care of all 3 OSes, which it did. (Thank God! or whomever)

I appreciate all the info that you guys provided and I will work at understanding those parts that were 'over my head' at this point in my Slackware career.

I will mark this thread a 'SOLVED' because I don't know how to mark it 'BAILED OUT!'

I did, however, successfully connect wirelessly to the net today and this post is reaching you from Slackware and not LMDE.

Thanks again,
 
  


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
How to include SATA-cdrom into GRUB menu (for chainloading) devdol Linux - Hardware 1 07-09-2009 06:49 PM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 12:22 PM
Kweather doesn't include in the menu. mir_sheely Mandriva 8 01-18-2005 05:41 AM
how do I get slack back in bootloader menu opafire Slackware 6 11-11-2003 09:22 PM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 02:40 AM

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

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