LinuxQuestions.org
Visit Jeremy's Blog.
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 10-12-2008, 06:18 PM   #46
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30

Thank You.

I will try LILO in the superblock this time.

I am right now reading the slackbook
 
Old 10-12-2008, 10:34 PM   #47
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
MHG,
If you install Slackware and find that you can't get X to start after running xorgsetup or xorgconfig, or by manually editing xorg.conf, if all else fails, just back up Slackware's xorg.conf first, then just replace Slackware's xorg.conf with the one from Ubuntu or Mandriva and it will probably work. I replaced Slackware's xorg.conf with the one from Ubuntu one time and it worked. I got the idea after reading on Woodsman's site about using a Knoppix live CD for this purpose:
http://humanreadable.nfshost.com/sde...ideo_sizes.htm

And if you can't get Ubuntu's grub to boot Slackware, you don't have to reinstall Ubuntu, just reinstall grub with the Ubuntu live CD and it will almost certainly pick up Slackware and allow you to boot it:
http://users.bigpond.net.au/hermanzo...b_with_Live_CD
 
Old 10-13-2008, 02:37 AM   #48
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi:

Quote:
Originally Posted by shadowsnipes View Post
Ubuntu does give you the option to install GRUB on the root partition. If I remember correctly there is a little box in the lower right hand corner ("Advanced") that you click on and then enter the partition (whatever device file corresponds to the / partition) you want to install it on.
Actually this has even been improved on in Intrepid Ibex where the installation partition / MBR location of grub can now be selected as a dropdown box. Previously it was necessary to type the location in grub-speak manually: eg (hd0,2) for first hard disk and 3rd partition but now the partition name can be chosen ('sda3' in this example) and this is translated to (hd0,2).

Well it worked that way for me and I am successfully dual booting slackware 12.1 with lilo on the MBR and chainloading this to Grub and Ubuntu 8.10 both on sda3.

Andrew
 
Old 10-17-2008, 01:54 PM   #49
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
Have not yet gotten slackware installed. However I have been reading parts of Slackbook while working with Debian I have installed.

Very happy to say that Slackbook appears to be a great primer for any Linux, and I have figured out a few things that had me stumped by using it.

I am hopeful that I have found a resource I will be using for some time while I learn Linux.
 
Old 10-18-2008, 05:47 PM   #50
Bob Barrett
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
Smile triple booting with SW, XP & Ubuntu, LILO questions

I just noticed this thread and read it through. Lots of good help, but
if I'm not mistaken, running lilo was mentioned only two or three times.
I'll bet that it has never been impressed on the OP that /sbin/lilo has
to be run every time a change is made in lilo.conf.

On successfully booting Slackware, he had it booted in frame #25 of this
thread. He didn't know it, because he was looking for a screen full of
pretty pictures.

On xorg.conf: Using a working one from another distribution has been
working for me for many years. If X doesn't start right away, just
substitute a known good one.

mhg,

If you can find someone, locally, that uses Slackware, they could be a
great help. Of course, there will allways be lots of good help here.

Slackware is great for someone who wants to know how things work.
Someone who would tweek his car, rather than those who only want to get
in, turn the key, and go. And with Slackware, you don't have to get hot,
cold, and greasy.

Bob
 
Old 10-18-2008, 05:57 PM   #51
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
I am ready to try to install again. But now I have Mandriva and Debian already installed with GRUB. So now have to decide if I am better off installing LILO in the Slackware partition, or not install it at all and try configuring GRUB (which I could not make work last time).

Guess I can always go back and install LILO later if I still can not get GRUB configured properly.
 
Old 10-18-2008, 08:14 PM   #52
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
I have slackware installed, but can not boot.

This is what my grub menu looks like:

title Debian GNU/Linux, kernel 2.6.18-6-686 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.18-6-686
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1

title Slackware
root (hd0,5)
kernel /boot/vmlinuz-huge- root=/dev/hda6 ro
initrd /boot/vmlinuz-huge- root=/dev/hda6
savedefault

When I try to boot to Slackware I get error:
"can not find file"

I was trying to follow the instructions from the Ubuntu forum.

Please note: debian is now on /dev/hda5, and slackware is on /dev/hda6

Is the initrd line that is wrong?

Thanks
 
Old 10-18-2008, 09:41 PM   #53
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by mhg
title Slackware
root (hd0,5)
kernel /boot/vmlinuz-huge- root=/dev/hda6 ro
initrd /boot/vmlinuz-huge- root=/dev/hda6
savedefault
The correct path is /boot/vmlinuz-huge-smp-2.6.24.5-smp, so your kernel line is incorrect as written. However, you do not need an initrd to use the huge-smp kernel, so your initrd line can be omitted.

I think the easiest way would be to install LILO to the superblock of Slackware's root partition and just chainload from GRUB, as explained before. If you do want to get GRUB working, I'm still not sure if the 256-byte inode size (as described earlier) has any relevance here. If it does, then you will never, ever get Slackware up and running using an ext2/3 filesystem using the unpatched GRUB provided by Ubuntu/Debian (if it is indeed unpatched, which I am not sure of), unless you reformat the Slackware partition with an inode size of 128 bytes and THEN install Slackware again WITHOUT reformatting the partition. AGAIN: THE EASIEST SOLUTION WOULD BE TO INSTALL LILO TO THE SUPERBLOCK OF SLACKWARE'S ROOT PARTITION AND CHAINLOAD FROM YOUR EXISTING GRUB.
 
Old 10-18-2008, 11:19 PM   #54
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Hi mhg

Just for fun:
Try this in your grub menu.lst



title My Mighty Slack-Box (/dev/hda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 ro vga=normal
 
Old 10-19-2008, 09:17 AM   #55
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by slackass View Post

title My Mighty Slack-Box(/dev/hda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 ro vga=normal
That worked. I can boot to slackware.
Can not startx.
Ran xorgsetup.
added user.
logged in as user
attempted to run xorgconfig
could not save xorgconfig file (message "maybe you need to be root?")

Stuck at that point, unable to figure out how to get beyond. Restarted only to find out that I have created a problem with Debian. Something about I was logged in for less than 10 seconds, and then sends me in circles from there.

I'll take the dog for a walk and see how I feel.

If it were not for my curiosity, I would say screw this and dedicate my time to Debian.

I am booting, so that is some progress (well maybe not, one step forward getting slackware to boot, two steps back in losing debian, so I guess that means I have lsot ground)

Thanks for the interest here.
 
Old 10-19-2008, 10:30 AM   #56
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
mhg:
I never mess with xorgconfig.
Try this:

boot to Slack > log in as root > "xorgsetup" (again) > "logout" > login as user > "startx"

http://www.supergrubdisk.org

Last edited by slackass; 10-19-2008 at 10:40 AM.
 
Old 10-19-2008, 10:36 AM   #57
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Do you have a line like this near the top of grub menu.lst :
default saved
(it is needed if you use savedefault feature)
 
Old 10-19-2008, 10:58 AM   #58
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
I went through the steps again.

When I "startx" I get two messages:
timeout in locking autority file /home/mike/serverauth.5501
timeout in locking autority file /home/mike/xauthority

Thanks
 
Old 10-19-2008, 11:01 AM   #59
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Quote:
Originally Posted by mhg View Post
Can not startx.

...I have created a problem with Debian.

I'll take the dog for a walk and see how I feel.

If it were not for my curiosity, I would say screw this and dedicate my time to Debian.
You need to be root to change xorg.conf. As this can entail settings for video hardware, if you have nvidia or ati boards, there are additional binary files to run. These are usually proprietary. Vesa, if I remember, did work out of box for me, though. Don't worry about X yet. You want to concentrate on getting your multibooting to work. This should be easy for you.

Midnight Commander is a great program for seeing file directory structure and for editing files. After booting as root in slackware, type cd /boot/grub and then mc and enter.

You should see menu.lst BUT perhaps also menu.lst.old... Look at the .old's for the debian entry and make the correction in menu.lst. (lst is lower case of LST). In midnight commander, F4 opens file, F2 saves, F10 exits and asks about saving.

If the menu.lst that debian originally used was on a different partition,
cd /mnt
look if hd is there. If not mkdir hd
mount /dev/hda5 hd
cd hd
then use mc to look at that partition's boot/grub/menu.lst

Concur that you do not want initrd line for slackware huge kernel. I've also never seen that savedefault line.

Last edited by forum1793; 10-19-2008 at 11:13 AM.
 
Old 10-19-2008, 11:16 AM   #60
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Quote:
Originally Posted by mhg View Post
I went through the steps again.

When I "startx" I get two messages:
timeout in locking autority file /home/mike/serverauth.5501
timeout in locking autority file /home/mike/xauthority

Thanks
I would not worry about X yet until you are comfortable that your grub booting works.

After that you will need to post more info to get X working. For example, are you using kde or xfce? What did you tell slackware install to use?

What is your hardware? Motherboard and video card?
 
  


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
triple booting XP, Ubuntu and Suse SVwander SUSE / openSUSE 3 02-09-2008 10:06 PM
Triple-booting and GRUB (two specific questions) tjvanwyk Linux - General 1 10-04-2007 12:05 AM
LXer: Triple-booting with GRUB, LILO, and Windows XP LXer Syndicated Linux News 0 04-13-2006 07:33 AM
questions about install and triple booting... Tyir Slackware 3 11-23-2003 11:10 PM
Triple booting with Lilo Chijtska Linux From Scratch 3 02-19-2002 11:00 PM

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

All times are GMT -5. The time now is 04:33 AM.

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