LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-30-2006, 10:56 AM   #1
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Rep: Reputation: 15
grub for dualboot


Hi everybody

I've installed slackware 11 on a PC with already Ubuntu runngin. Therefore 've changed the menu.lst file in the follwoing way
Quote:
Title Slackware
root (hd0,2)
kernel /boot/vmlinuz 2.4.33.3
I've got only one hard disk with the following partitions
hda1 for Ubuntu;
hda2=hda5 is for the swap;
hda3 is for Slackware.
After a while the boot process ends like this
Quote:
this cannot find reserfs on ide 0(3,7) kernel panic: VFS: unable to mount nt fs on 03:07

I can run a bootable floppy disk, but the mouse isn't working.
From Ubuntu I don't know how to access the slackware partition.

Any hint?
Thanks for patiently reading
 
Old 12-30-2006, 11:53 AM   #2
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
I found this example from http://f3wm.free.fr/linux/grub.html

# (4) Slackware
title Slackware
root (hd0,1)
kernel /vmlinuz root=/dev/sdb2 ro vga=791 mem=256M

And Linux Journal has an article about GRUB here http://www.linuxjournal.com/article/4622. I don't know if these will help solve your problem, but they are a start, at least.
 
Old 12-30-2006, 02:19 PM   #3
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for replying.
I tried how you said

Quote:
# (4) Slackware
title Slackware
root (hd0,1)
kernel /vmlinuz root=/dev/sdb2 ro vga=791 mem=256M
but it's even worse. it doesn't recognize the device.
I got a bootable floppy disk; I can run slackware but the mouse doesn't work

Thansk again fr any hint
 
Old 12-30-2006, 02:27 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
hda1 for Ubuntu;
hda2=hda5 is for the swap;
hda3 is for Slackware.
Try this in grub config file

Code:
title Slackware
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro
Tux,
 
Old 12-30-2006, 02:53 PM   #5
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
You need to add a bit more to your boot stanza. You have passed the root information to GRUB. You also need to pass it to the kernel.
Quote:
Title Slackware
root (hd0,2)
kernel /boot/vmlinuz-2.4.33.3 root=/dev/hda3 ro
might work. If you are using a generic slackware kernel, you also need an initial ramdisk to boot reiserfs. See /boot/README.initrd.
If you can boot into ubuntu, you can mount your slackware partition by:
Quote:
su -
[provide root password]
mount /dev/hda3 /mnt/hd -t reiserfs
Edit: tuxrules types faster than I do!
Regards,
Bill

Last edited by TSquaredF; 12-30-2006 at 02:55 PM.
 
Old 12-31-2006, 12:55 AM   #6
chagocota
LQ Newbie
 
Registered: Oct 2006
Location: Sacramento
Distribution: Debian, Slackware, Ubuntu,
Posts: 5

Rep: Reputation: 0
Similar to what tuxrules posted:

Code:
title Slackware 11.0 (2.6.17.13)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3
This is working for my dual boot with an existing Fedora 5 and grub installation.
 
Old 12-31-2006, 07:07 AM   #7
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Original Poster
Rep: Reputation: 15
Hi, thanks a lot to everybody for helping.


Quote:
title Slackware
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro
This works! I don't understand what ro stands for.

Quote:
If you are using a generic slackware kernel, you also need an initial ramdisk to boot reiserfs. See /boot/README.initrd.
I've seen the file README.initrd. and read it, but I don't know how I can know if I use a generic kernel.

Quote:
If you can boot into ubuntu, you can mount your slackware partition by:
su -
[provide root password]
mount /dev/hda3 /mnt/hd -t reiserfs
This too works, but I can't write on it and I can't read every folder (for instance the folder DESKTOP)

PROBLEM: mouse doesn't work, so I have to move via tab and ALT+Letter/number but maybe I'm supposed to post a new topic for this problem

Thanks a bunch and happy new year by a supernew
 
Old 12-31-2006, 10:24 PM   #8
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
Quote:
I don't understand what ro stands for.
ro=read only. It is remounted rw during the boot process.
Generic kernel: If you can boot using the listed Slackware stanza, you don't have to worry about this.
Mounting Slackware partition: Mount the partition, then issue the command "chroot /mnt/hda3". This will set the system up so that /mnt/hd becomes /. This will allow you to troubleshoot as necessary. Probably not necessary since you can now boot into the Slackware partition.
Mouse problem: Usually caused by not having the right modules to load or loaded. Ensure that the modules directory in /lib/modules is consistent with your kernel version.
Regards,
Bill

Edit: Spelling

Last edited by TSquaredF; 12-31-2006 at 10:25 PM.
 
Old 01-02-2007, 02:09 AM   #9
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for repplying

Quote:
Mouse problem: Usually caused by not having the right modules to load or loaded. Ensure that the modules directory in /lib/modules is consistent with your kernel version.
I just installed an usb mouse whereas I was supposed to set it up as ps/2 mouse. Now it works.

Bye by a
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub: dualboot problems wetnose23 SUSE / openSUSE 3 01-14-2006 12:44 AM
grub+dualboot with xp/linux linuxtesting2 Linux - General 5 11-15-2004 11:35 AM
winXP / linux dualboot via GRUB problems r0bman Linux - Software 4 07-20-2004 03:14 PM
Dualboot to GRUB with XP bootloader? TheMask Linux - Newbie 2 06-18-2004 03:14 PM
Dualboot XP Mandrake with grub atom Linux - Newbie 4 02-22-2004 06:00 AM

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

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