LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-01-2010, 04:32 AM   #1
zine92Linux
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Rep: Reputation: 0
[Triple Boot] Problem with Windows 7, Ubuntu 10.04 Development, and Slackware 13


I had windows 7 and Ubuntu initially on my laptop and today i wanted to give Slackware a try and i installed it. When prompt to install lilo, i ticked no which left me with the grub already installed with my Ubuntu. Now the thing is i can boot into my Ubuntu and Win 7 but i cannot boot into my slackware, i use update-grub to find Slackware but it did not return anything and i even tried adding a custom entry though i am not sure if the entry is correct or not. After googling for a while i saw some forums that suggested that in the custom entry, i used the vmlinuz-huge instead of the generic and i also found out from some other places - correct me if i am wrong but in the Slackware's /boot folder there must exist a initrd file in order for grub to update properly. I have tried mounting my Slackware onto my ubuntu /mnt/ but now i am completely stuck. i have no idea how to make my grub see my Slackware. Help appreciated.
 
Old 04-01-2010, 06:34 AM   #2
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
just to clarify, is there no initrd or something of a similar name in the boot folder?
 
Old 04-01-2010, 07:36 PM   #3
zine92Linux
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Nope. None. I think the initrd was supposed to be made after i install lilo but i cancel when it prompted me because i am afraid of it ruining my other boots. Is there any way to mount the slackware onto my ubuntu and make a initrd for it and then add a custom entry onto my grub 2. If so how. Anyway thanks.
 
Old 04-03-2010, 10:16 AM   #4
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
yes, never fear as linux has a lovely command known as chroot, it's an abreviation of "change root" and it allows you to have a CL interface with your other OS, you generally mount the partition, then bind your /dev /proc and /sys directories into it, then chroot into it using
Code:
sudo chroot /path/to/partition
then use
Code:
source /etc/profile
then i would run
Code:
update-initrd
 
Old 04-03-2010, 05:25 PM   #5
slackwaredanny
Member
 
Registered: Feb 2010
Location: Sweden
Distribution: Slackware
Posts: 88
Blog Entries: 3

Rep: Reputation: 20
reinstall grub?
 
Old 04-03-2010, 05:40 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,043
Blog Entries: 52

Rep: Reputation: Disabled
You have to create an initrd if you switch to the generic kernel after installation.
 
Old 04-03-2010, 06:26 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Quote:
Originally Posted by zine92Linux View Post
Nope. None. I think the initrd was supposed to be made after i install lilo but i cancel when it prompted me because i am afraid of it ruining my other boots.
Is this true of Slackware ?.
Sounds like it should be reported if so. The building of the initrd should be totally independent of boot-loader. I always install to the (root) partition of a new system to avoid stupidity like this, but I don't expect it of Pat.
Might be time I had another look at Slack ...
 
Old 04-03-2010, 07:20 PM   #8
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
If editing grub didn't work, then you probably didn't get something right in the entry. On any dual boot machine I've used with slack that had Grub already I just used grub. I've never tried to have grub add slack (or any other distro for that matter) on it's own after the initial install because it's always been trivial task to add an entry. This may not be true of Grub2 if that's what you are using.

I wouldn't think there would be any need for an initrd unless you kernel configuration would require it to boot. I may be wrong.

There is no initrd step in the installer by default. It is done after first booting with the huge kernel by running the
Code:
mkinitrd.........
command which you specify the options for.

Last edited by damgar; 04-03-2010 at 07:23 PM.
 
Old 04-03-2010, 07:26 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Yes, I just saw that in the notes. I've got a torrent going anyway - I haven't looked at Slack for a while.
 
Old 06-06-2010, 06:46 AM   #10
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
since you're running ubuntu 10.04 i am going to assume that you're using grub2 as your loader, that makes things difficult because it is heavily integrated into the OS it's self, i'd probably suggest installing grub legacy as it is much more nerd friendly for multiboot environments.
 
  


Reply

Tags
boot, slackware, triple, ubuntu, win7


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
XP, Ubuntu, FreeBSD triple boot problem mistertylersmith Linux - Software 8 04-27-2009 06:13 PM
Triple boot Ubuntu/XP/Slackware jag7720 Linux - General 2 03-31-2009 01:58 PM
Triple Boot Problem On Windows Xp, 2000, and Fedora animemal Linux - Newbie 4 02-01-2009 09:21 PM
Triple boot problem XP - Suse - Ubuntu eeenigma Linux - Distributions 5 07-10-2006 07:04 PM
Triple boot: Problem if try to reinstall windows _mercury Linux - Software 7 06-29-2006 11:11 PM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration