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 11-24-2005, 11:39 AM   #1
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
slack disc mount


I mainly use suse, but i decided to give slack a go. during installalation i accidently installed the lilo on the mbr of hda (suse) instaed of on hdb(slack) now i cant get back onto suse. But i am realy used to using yast to do everything for me and dont no any basic commands exept the cfdisk. I realy need to mount hda1 and hda3, hda2 is my swap., so that i can configure lilo to boot into suse.

thanks ryan
 
Old 11-24-2005, 11:46 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You'll need to mount the partition where Suse's kernel is, then edit Slackware's lilo.conf and reinstall LILO.
You'll need to do something similar to this:
Code:
# mkdir /mnt/suse1
# mkdir /mnt/suse3
# mount /dev/hda1 /mnt/suse1
# mount /dev/hda3 /mnt/suse3
Now, get into /mnt/suse1 and /mnt/suse3 and check where the kernel is, usually under /boot/vmlinuz, but may be /vmlinuz
Once you find it, edit /etc/lilo.conf, add a similar entry to slackware's, but change image= to where suse's kernel is (including /mnt/suseX) and root= to your suse's root partition (hda1 or hda3).
Now run:
Code:
/sbin/lilo -v -v -v
That should've done it.
 
  


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
Slack has a problem detecting install disc x471x Slackware - Installation 3 03-30-2005 06:25 PM
can't mount dvd rom or hard disc... gbdavidx Slackware 3 11-12-2004 03:34 AM
Mount Floppy Drive From Boot Disc AlaricXI Linux - Newbie 4 10-09-2004 12:27 AM
cdudf mandrake?? unable to mount disc? trey85stang Linux - Newbie 3 11-27-2003 08:39 PM
can't mount cd-rw disc doddy Linux - General 3 01-24-2003 04:51 PM

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

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