Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have my grub setup for Ubuntu, Backtrack 3, and P.H.L.A.K.. I Have them partitioned on a 60 gb hard drive with hda1:backtrack hda2:Ubuntu and hda3:PHLAK with hda4 as a swap space. They all installed fine. I have custom entries in menu.lst. I have the ubuntu entry which was autosetup by grub (ubuntu installed grub automatically). then I have backtrack 3 and PHLAK:
title Backtrack 3
root (hd0,0)
kernel /boot/vmlinuz ro root=/dev/hda1
title PHLAK
root (hd0,2)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda3
Both Ubuntu and Backtrack boot fine but whenever I boot PHLAK it gives me
EXT2-fs: hda3: couldn't mount because of unsupported optional features (4)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
I have looked for hours on google trying to find an answer and decided to post here. I really have no idea what is wrong so if you could throw out an answer or guess I can try them out or do research on the solution. I had a hard enough time getting the grub menu.lst setup and just started with linux a month ago. Thank you in advance
Does PHLAK use initrd, ie, do you need an initrd line after the kernel line in grub? I'm guessing something like:
initrd=/boot/initrd.img-2.6.9
You will need to have a look in the boot directory of the PHLAK partition to see.
Are you able to mount the PHLAK partition from Ubuntu?
I don't see an initrd image file in the PHLAK boot file. I dont know if I need to compile one or not. I have heard you need one for grub but backtrack works fine without that line. And yes...I do believe I can mount and unmount the PHLAK partition from Ubuntu.
I would have expected the install to have built or supplied the initrd.img if it was required. The initrd is an optional bootstrap stage to minimize the number of modules that have to be built into the kernel (so it is common to have it in newer distros). Is there a '/etc/mkinitrd' directory on the PHLAK partition?
It isn't necessarily called initrd.img; could be something like 'root.gz'. Perhaps if you could give a directory listing of /boot on the PHLAK partition it would give some help.
It looks like a fairly old distro, so I'm not sure how much help you can get from the original distributors.
Incidentally, did you actually install PHLAK or is it just a copy from the CD?
Last edited by neonsignal; 08-02-2009 at 10:41 PM.
Here is a directory listing of boot:
config-2.6.9
System.map-2.6.9
vmlinuz
vmlinuz-2.6.9
So not much and yes I have tried vmlinuz and the -2.6.9 one in the grub menu.lst. I dont see a root.gz anywhere. I dont have a mkinitrd in /ect/. I downloaded an ISO image and burned to a disk. booted off the cd and ran a program that installed PHLAK on the hard drive. Thanks for the replies.
SOLVED I installed another Linux distro called JAD. Modified the grub menu.lst on that partition and everything works fine now . Thanks for all the help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.