LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-09-2008, 11:32 PM   #16
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32

Hmm it appears freespire did not detect your slackware install so it wrote over your mbr. My suggestion is to boot into slackware using the dvd and run liloconfig. Now do not install it to the MBR, install it to the root partition of slackware. Now reboot the computer and log onto SUSE and add the partition slackware to the grub menu. Since I have never used grub or suse(okay i booted it once) you will have to google this part. But that should salvage your slackware install and allow you to keep all the distros.
 
Old 03-10-2008, 06:30 AM   #17
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
What do you want to exactly achieve. If you want to use your slackware installation:

When I have problems with booting up the slackware I just boot from slackware cd and write something like this as boot option: (it boots your slackware root disk)

bare.i root=/dev/hda1 noinitrd ro

this is for slackware 10.2 but it is similar in 12 and it is shown on the boot screen.

You have to type in your own root disk (hda2).
And when you boot into slackware, you can do with lilo what you want. If you want to use lilo!

I can help you out with lilo, but I don't use any other bootmanager.
 
Old 03-10-2008, 07:04 AM   #18
FreeTinker
LQ Newbie
 
Registered: Mar 2008
Distribution: BSD, Linux, and still searching
Posts: 15

Rep: Reputation: 0
The Slackware CD install-d1 works, but I am trying to get LILO or GRUB (I'm not sure about how to use them) work properly so that I don't have to use the Slackware CD-d1 to boot Slackware.

I tried Slackware 12's liloconfig but I get errors whenever I do that. Again, just now, the errors occurred again, I had to reinstall everything to my 80 G hard disk, erasing all the OS's I've install so far.
 
Old 03-10-2008, 08:44 AM   #19
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
What shows the error?
I used to get error when making last steps of setup (configuring lilo).
I make mistake when choosing where to write the boot sector.
Be carefull when working with MBR (master boot record).

Last edited by hua; 03-10-2008 at 08:47 AM.
 
Old 03-10-2008, 09:25 PM   #20
FreeTinker
LQ Newbie
 
Registered: Mar 2008
Distribution: BSD, Linux, and still searching
Posts: 15

Rep: Reputation: 0
I do a fresh install. I installed Freespire into my 80 G hard disk, taking over the whole disk. After installing I start computer:

1. Screen shows Freespire Ver. 2.0.3, Diagnostics, Redetect, Advanced Menu.
When I click 'e' on Freespire Ver. 2.0.3 it shows:
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-lowlatency root=/dev/hda1 rootdev=0x0->
initrd /boot/initrd_img-2.6.20-16-lowlatency
When I boot into Freespire Ver. 2.0.3 it works well.

2. I switch off then switch on computer and used GNOME Partition Edition in Freespire CD. GParted shows:
/dev/hda - GParted
/dev/hda (76.69 GiB)
/dev/hda1 75.70 GiB

/dev/hda1 reiserfs 75.70 GiB 1.81 GiB (used) 73.89 GiB (unused) boot
/dev/hda2 linux-swap 1011.91 MiB -- --

3. I resized to:
/dev/hda1 reiserfs 19.68 GiB 1.80 GiB (used) 17.88 GiB (unused) boot
unallocated unallocated 56.02 GiB -- --
/dev/hda2 linux-swap 1011.91 MiB -- --

4. I logged out, switched off then switched on my computer. Freespire still worked.

5. I logged out, switched off then switched on my computer and booted with Slackware 12 install-d1 CD. There is the word "boot" near the bottom.

6. Using fdisk -l or p screen showed:
/dev/hda1 * 1 2569 20635461 83 Linux
/dev/hda2 9883 10011 1036192 + 82 Linux swap

7. After entering: n, p, 2570 and 21G it showed:
/dev/hda1 * 1 2569 20635461 83 Linux
/dev/hda2 9883 10011 1036192 + 82 Linux swap
/dev/hda3 2570 5123 20515005 83 Linux

8. After I entered W, setup I did the following:
ADDSWAP /dev/hda2
Linux installation partition /dev/hda3
Filesystem ext3
I installed ALL except games.

9 .I installed LILO, entered "simple - Try to Install LILO automatically"
Standard (safe choice)
MBR Install to Master Boot Record

10. I rebooted my computer and the screen showed:
LILO 22.8 Boot Menu
Linux

Freespire is nowhere there, so I could only boot into Slackware but not Freespire.
 
Old 03-10-2008, 10:25 PM   #21
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You're overwriting GRUB, which Freespire installed. You want to install Slackware to the root partition and NOT to the MBR. Then you would be able to boot into Freespire but not Slackware. Add a GRUB entry in menu.lst in Freespire to boot /dev/hda3 (or whatever your Slackware partition is). I think this would be (hd0,2) or some such thing (I'm no expert on GRUB). Then you should be able to choose either Freespire or Slackware when you boot and both should work.

The problem is that Slackware DOES NOT auto-detect other OSs and try and boot them (as far as I know), and you have to set them up yourself. You could always use LILO to boot the Freespire partition instead of sticking with GRUB, but although I use LILO on my box I will admit that GRUB is easier to modify since you don't have to run 'lilo' from the host OS (or through a chroot) and instead can edit menu.lst from any OS and boot properly.

Last edited by T3slider; 03-10-2008 at 10:27 PM.
 
Old 03-12-2008, 05:02 AM   #22
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
You will have to change your lilo.conf in /etc/lilo.conf directory.

Lilo have only the slackware option to boot.

I don't use 'windows' for config lilo boot options (liloconfig). There are several possibilities where you can make mistakes. And I don't think that the automatic lilo detection will set properlly several diffrent systems.

I don't know freespire. I cannot tell what kernel image to boot into.

Each config window rewrites the of lilo.conf. When you open the lilo.conf at the end of the file, there shuld be lines which defines entries for your initial boot (red) window where you can choose what OS to boot.

I will show you exactlly what to add to the end of lilo.conf. (But I am not on my slackware box now)
If you can show us your lilo.conf file it will help.

Last edited by hua; 03-12-2008 at 05:06 AM.
 
Old 03-12-2008, 07:55 PM   #23
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Ok - so as has been stated already you have overwritten grub with lilo which hasn't included your Freespire partition but Slackware will boot from that lilo.

I'll try and talk you through mounting the Freespire partition in Slackware and getting the grub settings to add to lilo.conf.

First boot into Slackware and enter the following:

Code:
su -c "mount -t resiserfs /dev/hda1 /mnts/tmp"
This should ask for a root password and mount the Freespire partition to /mnts/tmp

then enter this:

Code:
su -c "find /mnts/tmp/ -name menu.lst;
Note where the file was found.

Hopefully by now you will have found the grub configuration file.Copy and paste the contents of the file here for further instructions.. (you may open this with konqueror under /mnts/tmp/.......... (wherever it is). You may have to open it (if you use KDE) from "System->More Applications->File Manager - Super User Mode" but just try from standard Konqueror first.

All this is,(copying and pasting),is assuming you have installed KDE - if not viewing the file will be done from the command line with vim/pico/emacs whatever.

NB: Alternatively - ask in the Freespire forums what the grub settings are. Just tell them whats happened and that you want to dual boot.
 
  


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
Need Assistance in Slackware!!! cj_cheema Linux - Software 8 12-18-2006 03:39 PM
Slackware 10.0 questions -N00b Sader Slackware 2 10-14-2004 07:07 AM
Slackware 9.1 installation Errors Need immediate Assistance! ClericPreston Slackware - Installation 4 06-02-2004 05:58 AM
Slackware / Tripwire assistance needed... Hooper Slackware 8 04-06-2004 02:33 AM
Slackware 9.1 w/ 2.6.2 kernel & nvidia drivers - need assistance r_jensen11 Linux - Hardware 8 02-11-2004 07:40 PM

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

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