LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-27-2011, 02:16 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Installing without Lilo


I'm currently running mint 10 on the 3 'first' partitions of my
workstation. I have Ubuntu 10.04 on the 'second' 3.
From df
Code:
/dev/sda1             80881432   3180864  73592024   5% /
none                   1539264       264   1539000   1% /dev
none                   1547516      1020   1546496   1% /dev/shm
none                   1547516       352   1547164   1% /var/run
none                   1547516         0   1547516   0% /var/lock
/dev/sda2             80242520  19717364  56449076  26% /home
/dev/sda9             19220180   3416276  14827572  19% /usr
/dev/sdb1              7753728        32   7753696   1% /media/6331-6538
/dev/sda7             52866604  23926440  26254676  48% /mnt/ubuntu/home
/dev/sda8             19223252    370880  17875888   3% /mnt/ubuntu/user_local
/dev/sda6             52866604   9191004  40990112  19% /mnt/ubuntu/root
I want to retain mint and its grub2 bootloader for now. That would
be accomplished (I believe) by choosing the skip option at
the Install Lilo screen. I'm not entirely sure whether the
grub2 loader on the mint 'side' will automatically pick up slack.
To be sure, would there be any data gathering or other analysis that
I should do when the slack install is finished and before reboot?
thanks
tim
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-27-2011, 02:29 PM   #2
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
After installing switch to a terminal before rebooting, mount your system and run grub with the equivilant of lilo -r ?
 
1 members found this post helpful.
Old 02-27-2011, 03:11 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
just update-grub afterwards.

if slackware doesnt start up, you could try adding the following to your grub.cfg, changing what you need to point to your drives/vmlinuz:

Code:
menuentry 'Slackware'
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy
        echo    'Loading Slackware ...'
        linux   /boot/vmlinuz-custom-2.6.37 root=/dev/sda5 ro quiet vga=791
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.gz.
}
 
2 members found this post helpful.
Old 02-27-2011, 03:28 PM   #4
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Rep: Reputation: 49
Hello:

Note: I am an inexperienced SlackWare and linux user.

I had windows XP and Mint Debian installed before I installed SlackWare 13.1 (32 bit)

I installed SlackWare to 2 new partitions: sda7 & sda8 for root and home respectively and I SKIPPED INSTALLING LILO.

Then I rebooted into Mint Debian and updated grub by doing:
Code:
sudo grub-install --recheck /dev/sda
Code:
sudo update-grub
Then I rebooted and grub had found Windows XP, Mint and SlackWare.

The key part seems to be: sudo grub-install --recheck /dev/sda before doing: update-grub.

I edited out some of grub entries that were not required later.

Note: I am an inexperienced SlackWare and linux user.


Hope this helps.

Last edited by Robert.Thompson; 02-27-2011 at 03:28 PM. Reason: typo
 
3 members found this post helpful.
Old 02-27-2011, 03:38 PM   #5
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Lightbulb

The replies that I am getting is what I had guessed to be the solution.
I appreciate the input and the help.
Thanks of course to trademark91, and
Robert.Thompson - give yourself a pat on the back.
cheers
tim
 
Old 03-01-2011, 06:11 AM   #6
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Quote:
Originally Posted by trademark91 View Post
just update-grub afterwards.
if slackware doesnt start up, you could try adding the following to your grub.cfg, changing what you need to point to your drives/vmlinuz:
Manually editing grub.cfg is discouraged these days on Ubuntu.
I have been triple booting Slackware, XP and Ubuntu for several years, with Ubuntu grub on the MBR

One machine works automatically, but another is a bit awkward to find other OS, so I use a custom grub script file /etc/grub.d/40_custom with the following lines

Code:
menuentry "Slackware Linux (Slackware 13.1)" {
	set root=(hd0,7)
	linux /vmlinuz root=/dev/sda8 ro vga=normal
}
Do NOT run Lilo in Slackware
 
1 members found this post helpful.
Old 03-01-2011, 10:35 AM   #7
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Thumbs up

Quote:
Originally Posted by davidsrsb View Post
Manually editing grub.cfg is discouraged these days on Ubuntu.
I have been triple booting Slackware, XP and Ubuntu for several years, with Ubuntu grub on the MBR

One machine works automatically, but another is a bit awkward to find other OS, so I use a custom grub script file /etc/grub.d/40_custom with the following lines

Code:
menuentry "Slackware Linux (Slackware 13.1)" {
	set root=(hd0,7)
	linux /vmlinuz root=/dev/sda8 ro vga=normal
}
Do NOT run Lilo in Slackware
Thank you for the contribution. I was aware that with grub2, you should be adding custom entries
at /etc/grub.d, but I'm glad that you brought that up. Good tip. And for anyone reading
this, some of the parameters above may be different on your machine.
cheers
tim
 
  


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
[SOLVED] LILO fails when run from live CD after installing Slack (skipped LILO during setup) sysfce2 Linux - Newbie 7 08-04-2009 12:16 AM
Installing LILO kosmonaft Slackware 5 08-31-2006 06:58 AM
How To Keep LILO From Installing philipogletree Debian 1 08-05-2005 06:53 AM
LILO not installing...help! nikd Slackware 5 06-07-2004 12:48 PM
Installing Lilo Daniel Linux - Newbie 4 06-21-2001 11:33 PM

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

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