LinuxQuestions.org
Help answer threads with 0 replies.
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 10-16-2007, 02:29 AM   #16
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113

-----------------------------Lilo way---------------------------

I gave out a lilo.conf in Post #6. All you need to do is to create a text file /etc/lilo.conf with the same content, except replacing sdb6 with sda4. Therefore you can make your Slackware chainloadable by issuing (inside the Slackwareby chroot from Ubuntu) the command
Code:
lilo -b /dev/sda4
If you want Slackware to take over the MBR you omit the "4" in the "sda4". Once bootable you can then edit lilo.conf to boot the other systems. Read Post #6 again if you need help as a reference has been provided.

-----------------------------------------------Grub way-------------------

In Ubuntu Grub screen instead of selecting a system to boot you can press "c" key to drop into a Grub prompt. You can then boot Slackware manually this way

Ask Grub to tell you which partition has vmlinuz by command
Code:
find vmlinuz
Grub should respond back with (hd0,3) if sda4 holds Slackware. This is directly from the horse's mouth. You might get an answer including (hd0,2) because Ubuntu should have it too.

Having locate positively it is in (hd0,3) you can boot Slackware manually by commands in a Grub prompt
Code:
root (hd0,3)
kerkernel /boot/vmlinuz ro root=/dev/sda4
boot
You can choose to boot "vmlinuz-generic-smp-2.6.21.5-smp" too instead of "vmlinuz."

Booting a Linux manually is way to prove the commands needed in menu.lst. Grub responds to each command and a user therefore is able to know any command that Grub has an issue with.

If vmlinuz is unaavilable or vmlinuz-generic-smp-2.6.21.5-smp does boot then it would appears to me a wrong kernel has been installed and a different kernel may have to be sourced from the installation CD/DVD, unless you want to go down arubin's suggested way to create an initrd yourself.

Last edited by saikee; 10-16-2007 at 03:25 AM.
 
Old 10-16-2007, 03:09 AM   #17
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
As I have said at nauseum. The official Slackware line is that it is recommended that you use the so-called generic kernel and this does need an initrd. That is not my opinion. That is what Pat Volkerding has written in his instructions for setting up Slackware 12 (and slackware 11 if you want to use the 2.6 kernel supplied)
 
Old 10-16-2007, 03:21 AM   #18
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
tenicus.

You should have a file /boot/readme.initrd or something like it. If you want to use the generic kernel you need to follow the instructions in that file.

Alternatively change

/boot/vmlinuz-generic-smp-2.6.21.5-smp ro root=/dev/sda4

to point to the huge kernel by

/boot/vmlinuz-whatever ro root=/dev/sda4

Change vmlinuz-whatever to the file name for the huge kernel. You should find that by having a look at the contents of /boot/

It might be that simple

/boot/vmlinuz ro root=/dev/sda4

works because vmlinuz is a link to the huge kernel
 
Old 10-23-2007, 01:36 PM   #19
hGi'mD
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
I have the same problem

I am not sure, if tenicus found a solution for his problem, but I am in the same boat.

fdisk -l
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 247 1983996 e W95 FAT16 (LBA)
/dev/sda2 248 381 1076355 82 Linux swap
/dev/sda3 382 1581 9639000 f W95 Ext'd (LBA)
/dev/sda5 382 406 200781 6 FAT16
/dev/sda6 407 540 1076323+ 6 FAT16
/dev/sda7 * 541 798 2072353+ 83 Linux
/dev/sda8 * 799 1581 6289416 83 Linux

menu.lst (excerpt)
title Slackware 12.0
root (hd0,7)
kernel /boot/vmlinuz-huge-2.6.21.5 root=/dev/sda8 ro
boot

Results in:
Kernel panic - not syncing: VFS: unable to mount fs on unknown-block (0,0)

The two FAT16 partitions hold Slax and boot just fine.
Any suggestions?

Thanks.
 
Old 10-23-2007, 02:18 PM   #20
polarbear20000
Member
 
Registered: Oct 2006
Location: Crestview, FL
Distribution: Slackware 13, Debian 8.1
Posts: 105
Blog Entries: 1

Rep: Reputation: 17
Weighing in - my menu.lst using Slack 12

Quote:

######---SLACKWARE LINUX
#note to self - installed on (/dev/hdb2)
title Slackware Linux 12.0 (2.6.21.5)
root (hd1,1)
kernel /boot/vmlinuz-huge-smp-2.6.21.5-smp root=/dev/hdb2 video=sisfb vga=791
# Linux bootable partition config ends

Try that - it is a snippet from my GRUB menu.lst - no problems booting here. I use the huge-smp kernel currently for no other reason than "just because I can" but you should change it according to what you want to use. Good luck.
 
Old 10-23-2007, 02:23 PM   #21
polarbear20000
Member
 
Registered: Oct 2006
Location: Crestview, FL
Distribution: Slackware 13, Debian 8.1
Posts: 105
Blog Entries: 1

Rep: Reputation: 17
Forgot to mention - check your symlinks, too. Never know just what might be going on.
 
Old 05-15-2008, 10:00 AM   #22
salemboot
Member
 
Registered: Mar 2007
Location: America
Distribution: Linux
Posts: 161

Rep: Reputation: 36
Did you get your question answered?

The version of GRUB that accompanies Slackware 12.0 does not support REISERFS.
You will either need to get a later version or patch the existing version.


L8r

Last edited by salemboot; 05-15-2008 at 10:01 AM.
 
  


Reply


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
Problems with GRUB, not using whats in grub.conf **FIXED silentpetey Linux - General 1 11-06-2006 09:24 AM
grub(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 05:24 PM
slackware install problems (lilo vs grub) ultimatenoob Linux - Newbie 13 08-07-2006 10:51 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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