LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2006, 12:30 PM   #1
cobweb
LQ Newbie
 
Registered: Feb 2006
Posts: 14

Rep: Reputation: 0
GRUB configuration


I have installed a new linux version 2.6.12
I constructed the executable from the source code and copied it to the /boot directory with the name newkernel-2.6.12

the menu.lst file in my /boot/grub directory looks like:
title Ubuntu, kernel 2.6.12-9-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

I added these lines in order to add my new kernel,

title Ubuntu, kernel newkernel(2.6.12)
root (hd0,6)
kernel /boot/newkernel-2.6.12 root=/dev/hda7 ro quiet splash
boot

but it suspended while booting it after restarting, what could be the problem, how should I have changed menu.lst?

thanx in advance
 
Old 02-22-2006, 12:50 PM   #2
cobweb
LQ Newbie
 
Registered: Feb 2006
Posts: 14

Original Poster
Rep: Reputation: 0
i think i need to run mkinitrd in order to install an initial ram disk (initrd) but when I run

mkinitrd /boot/initrd-2.6.12.img 2.6.12

it says bash: mkinitrd: command not found

it does still not work when I run apt-get install mkinitrd

 
Old 02-22-2006, 01:13 PM   #3
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Post the message that pops upon hangup.
 
Old 02-22-2006, 02:12 PM   #4
cobweb
LQ Newbie
 
Registered: Feb 2006
Posts: 14

Original Poster
Rep: Reputation: 0
i could not copy the boot error but it is like:

kernel panic - not syncing VFS: unable to mount root fs on unk

??!!!!

I got totally stuck about what to do next..

the last version of menu.lst is now:
title Ubuntu, kernel newkernel(2.6.12.1)
root (hd0,6)
kernel /boot/newkernel-2.6.12.1 root=/dev/hda7 ro quiet splash
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot


do i need initrd if so why can mkinitrd command not found when I run mkinitrd /boot/initrd-2.6.12.1.img 2.6.12.1

Somebody help me!
 
  


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
GRUB configuration malaka56 Linux - Software 1 06-02-2005 03:23 AM
Grub Configuration Pipedream Linux - Newbie 3 02-13-2005 03:12 PM
GRUB splashimage configuration / update GRUB rudL Linux - Software 1 05-10-2004 07:16 AM
Grub configuration ekoome Red Hat 1 02-14-2004 03:00 AM
GRUB configuration jiggywiggy Linux - Software 5 09-02-2003 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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