Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-17-2006, 04:33 PM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 9
Rep:
|
how do i add Slackware to GRUB ??
I just installed slackware after hearing good things, except i didnt install lilo as i was hoping to add slackware to my already present GRUB bootloader from ubuntu.
i installed slackware to /dev/hda5 with the bare.i kernel and im stuck what to add to my GRUB menu.lst file in ubuntu so that it will let me boot slackware (if it is after all possible)
thanks
Phyre-x
|
|
|
05-17-2006, 04:46 PM
|
#2
|
LQ Newbie
Registered: May 2006
Location: iowa, us
Distribution: Ubuntu, Red Hat
Posts: 16
Rep:
|
Perhaps:
from /usr/doc/Linux-HOWTOs/Multiboot-with-GRUB
Quote:
Create the following menu.lst for GRUB. This file lives in /boot/grub.
#
# Sample boot menu configuration file
#
# Boot automatically after a minute.
timeout 60
# By default, boot the second entry.
default 1
# Fallback to the first entry.
fallback 0
title Windows 2000
unhide (hd0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
makeactive
# For booting Linux
title Linux
root (hd0,7)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261
title Windows 98
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
rootnoverify (hd0,2)
chainloader +1
makeactive
title DOS 6.22
hide (hd0,0)
unhide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,1)
chainloader +1
makeactive
# For booting Linux
title Linux (single user)
root (hd0,7)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261 single
|
|
|
|
05-17-2006, 05:14 PM
|
#3
|
LQ Newbie
Registered: May 2006
Posts: 9
Original Poster
Rep:
|
thanks - took me a few minutes to figure out it starts counting at 0 but got there finally - now just the freezing at probing pcmcia to resolve now that im 3/4 booted
|
|
|
05-20-2006, 10:36 PM
|
#4
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
Quote:
Originally Posted by phyre-x
thanks - took me a few minutes to figure out it starts counting at 0 but got there finally - now just the freezing at probing pcmcia to resolve now that im 3/4 booted
|
Hey - can you post your GRUB menu.lst file ? I also am stuck with Grub at the moment and will be adding Slackware into the list soon.
What is the command to 're-install' grub to mbr after updating the menu.lst file..?
Thanks!
|
|
|
05-21-2006, 02:06 AM
|
#5
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
For Graz.....
If you update your menu 1st you do not have to re-install GRUB. Simply updating only applies your update to the boot list. It is not like LILO where you have to re-run it each time you make a change.
Bob
|
|
|
05-21-2006, 04:56 AM
|
#6
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
Hi Bob, Nice one - thanks for the info - will give this a go..
problem at the moment is i had a few issues when installing ubuntu and ended up letting it use my entire 80GB drive.. I want to now resize the partition to say 20GB + 20GB for slackware and 40GB as dumping ground..
Looks like i may have to backup ubuntu and then start over with partitioning...
Last time i tried to resize a ext3 parition i had some problems
my understanding of the partimage program is that if i make an image of a 80GB volume i cannot restore to a smaller drive... so looking like i may have to tarball the whole thing...
hrmm
|
|
|
05-21-2006, 09:31 AM
|
#7
|
Member
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276
Rep:
|
Graz, can't you resize the partition(s) with qtparted or partition magic?
|
|
|
05-22-2006, 05:52 AM
|
#8
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
i would but i have tried both g/qtparted in the past and then my system would not boot...
last time i did this propelry i dumped an image with 'partimage' to s spare partition and then blew it away and re-created and then pushed the image back.,...
I think i then had a filesystem that was smaller than the partition size and then used something called resize2fs
Ill have to do some thinking as i dont wnat to lose anything this time
|
|
|
05-22-2006, 12:30 PM
|
#9
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
Graz
I recently resized an 80GB drive to make room for LFS and aside from having to tweak ALSA I had no problems (used Gparted). If you do a full back-up, you might want to give it a try. I think you might be pushing your luck to try three partitions, though. Not really sure. Either way, it is realatively easy to add new linux distros for grub to boot.
Bob
|
|
|
05-23-2006, 01:11 AM
|
#10
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
Hi Bob,
Excellent - this is calming to here =)
I wanted to hjave 4 partitions (2 x linux distro's , 1 x swap and 1 x fat32 area)
I have had it like this in the past but partitioned the drive like this prior to loading anything...
How do you recommend backing up my existing system? Problem with Partimage is i do not beleive i can restore an image taken from a 80Gb drive back to a 40Gb part..
i guess i could tarball the entire fs
(sorry moderators - i realise this should be posted seperately - was a side issue)
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|