LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 04-22-2010, 01:55 PM   #1
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Rep: Reputation: 20
arch - grub (errors adding slackware)


I installed arch and overwritten MBR for grub.
I edited menu.lst but it still doesn't find slackware kernel:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3265    26226081   83  Linux
/dev/sda2            3266        3527     2104515   82  Linux swap / Solaris
/dev/sda3            3528        6161    21157605   83  Linux
/dev/sda4            6162       30401   194707800    5  Extended
/dev/sda5            6162       30401   194707768+  83  Linux
sda1 -arch
sda3 - slackware

Code:
# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/bf0356c4-6030-4abd-a4ba-4d248a2c7274 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/bf0356c4-6030-4abd-a4ba-4d248a2c7274 ro
initrd /boot/kernel26-fallback.img

# other
title Slackware64-current
rootnoverify (hd0,2)
makeactive
chainloader +1

title Slackware
root(hd0,2)
kernel /boot/vmlinuz rw root=/dev/sda3
I tried both with chainloading and pointing to the kernel (I'm not sure if slackware's lilo was installed on MBR or /dev/sda3)


That's slackware's /boot (/dev/sda3)

Code:
[root@archtop xtd8865]# ls -l temp/boot/
total 11376
-rw-r--r-- 1 root root     512 Dec  6 23:12 boot.0803
-rw-r--r-- 1 root root     199 Apr 22 00:13 boot_message.txt
lrwxrwxrwx 1 root root      20 Jan 26 11:46 config -> config-huge-2.6.32.5
-rw-r--r-- 1 root root   98421 Jan 23 20:39 config-generic-2.6.32.5
-rw-r--r-- 1 root root   98439 Jan 23 22:09 config-huge-2.6.32.5
-rw-r--r-- 1 root root    5040 Feb 15 02:09 diag1.img
-rw-r--r-- 1 root root   17932 Feb 15 02:09 diag2.img
-rw------- 1 root root   81920 Jan 26 11:49 map
lrwxrwxrwx 1 root root      37 Mar  2 11:51 README.initrd -> /usr/doc/mkinitrd-1.4.3/README.initrd
-rw-r--r-- 1 root root   17318 Dec  9  2008 slack.bmp
lrwxrwxrwx 1 root root      24 Jan 26 11:46 System.map -> System.map-huge-2.6.32.5
-rw-r--r-- 1 root root 1484789 Jan 23 20:39 System.map-generic-2.6.32.5
-rw-r--r-- 1 root root 2332041 Jan 23 22:09 System.map-huge-2.6.32.5
lrwxrwxrwx 1 root root      21 Jan 26 11:46 vmlinuz -> vmlinuz-huge-2.6.32.5
-rw-r--r-- 1 root root 2468288 Jan 23 20:39 vmlinuz-generic-2.6.32.5
-rw-r--r-- 1 root root 5011376 Jan 23 22:09 vmlinuz-huge-2.6.32.5
In both cases it says that it couldn't find it.

Please, advise.
 
Old 04-22-2010, 02:28 PM   #2
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 36
Try this entry in your menu.lst file:

Quote:
title Slackware
root (hd0,2)
kernel (hd0,2)/boot/vmlinuz root=/dev/sda3 ro

Last edited by zuzoa; 04-22-2010 at 02:30 PM.
 
Old 04-22-2010, 03:36 PM   #3
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
This is what I needed! Many thanks
 
Old 04-22-2010, 03:59 PM   #4
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 36
You're welcome Remember to mark your thread as [SOLVED] after your problem has been answered!
 
  


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
Adding Slackware 13 to Grub Boot loader of Ubuntu 9.10 vinnie_vinodh Slackware 3 01-28-2010 09:38 AM
Installing Slackware 64 and adding it to Grub. glore2002 Slackware 10 08-24-2009 12:57 PM
Compiling the Kernel - errors in make menuconfig ARCH=um donoh Ubuntu 2 04-11-2005 01:43 PM
Adding Slackware 10 to Grub RoaCh Of DisCor Slackware 9 10-25-2004 02:00 PM
Adding Slackware to GRUB jturnbul Slackware 14 09-15-2004 03:48 PM

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

All times are GMT -5. The time now is 03:31 PM.

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