04-18-2004
kernel panic
hello :-)
I have one problem with my LiLO... I installed PLD Linux on my computer but when it boots, the last thing I can see is:
request_module[block-major-3] Root fs not mounted
VFS: Cannot open root device 03:01
Kernel panic: VFS: unable to mount root fs on 03:01
and the system stops :-(
what should I do?
this is my /etc/lilo.conf:
# By default boot the pld entry
default=pld
# Wait 5 seconds for booting
timeout=50
# Default bootpartition
boot=/dev/hda
# well, we want to be asked...
prompt
# menu stuff
menu-title = "PLD Linux"
menu-scheme = "wk:kc:ck:Ck"
read-only
# additional:
lba32
# Linux image
image=/boot/vmlinuz
root=/dev/hda3
label=pld
initrd=/boot/initrd
# EOF
and this is my /etc/fstab:
/dev/hda3 / ext2 defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
pts /dev/pts devpts gid=5,mode=600 0 0
/dev/fd0 /mnt/floppy vfat noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,unhide 0 0
please help my :-) have a nice day
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've installed rh 7.3 a fewday ago and I'm trying to boot it and I get this" Kernel panic: no init found. try passing init=options to kernel" ????? What do I do.
Thanks.
F,Ruiz. (2 Replies)
Discussion started by: ruizf
2 Replies
2. Linux
I have compiled kernel version 2.6.12 in my linux box mandrake 10.1. I have followed www.digitalhermit.com/linux/Kernel-Build-HOWTO.html instructions. I have copied .config file from /usr/src/linux and lightly modified it (only the processor type) by xconfig. I have compiled the source and modules.... (3 Replies)
Discussion started by: Davide71
3 Replies
3. Linux
ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before?
I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system.
Please Help... (2 Replies)
Discussion started by: dave043
2 Replies
4. Linux
hello all,
please, help!
we suffered out of power today and one of our Linux boxes cannot boot properly:
..
hda set_driver_speed_status error 0X04
VFS: Unable to mount root fs on 00:00
...
the only thing that i can do - is boot in the rescue mode. i've already added noinitrd to... (2 Replies)
Discussion started by: MarGur
2 Replies
5. Red Hat
Hi all,
When i load my block device driver in Fedoracore10 kernel 2.6.27. i got this type of error kernel panic - not syncing : Fatal exception in interrupt. I am unable to save the log file....
Can any one help me.....
regards
sundar (4 Replies)
Discussion started by: sundhar
4 Replies
6. UNIX for Dummies Questions & Answers
How can a kernel panic be simulated? (5 Replies)
Discussion started by: proactiveaditya
5 Replies
7. UNIX for Dummies Questions & Answers
I was very exited to try out new kernel version so i decided to give it a try.
http://www.conceivablytech.com/7683/products/linux-torvalds-approves-linux-3-0-rc1
So i downloaded the kernel 3.0-rc1 from
The Linux Kernel Archives
It was my first kernel compilation everything went smooth... (1 Reply)
Discussion started by: pinga123
1 Replies
8. UNIX for Advanced & Expert Users
Hi, all:
How should I obtain the reason of kernel panic?
How should I debug the program which result in a kernel panic?
What can I get from the panic information?
li, kunlun (3 Replies)
Discussion started by: liklstar
3 Replies
9. SCO
Hello
when i booting my SCO Server I become this Message
PLS can anyone help me?
Cheers
Christoph (1 Reply)
Discussion started by: cga
1 Replies
10. Red Hat
dear experts linux
i am using RHEL 5.5 run on a physical server.
i am front of a big trouble, the Rhel can't run correctly , it show me this error message in black screen:
reading all physical volumes. this my take a while ..
found volume group "VolGroup00" using metadata type lvm2
9... (1 Reply)
Discussion started by: wassimpb
1 Replies
LEARN ABOUT REDHAT
lvmcreate_initrd
LVMCREATE_INITRD(8) System Manager's Manual LVMCREATE_INITRD(8)
NAME
lvmcreate_initrd - create an initial ramdisk to boot with root on a logical volume
SYNOPSIS
lvcmreate_initrd [-i|--iop IOP] [-D|--devfs] [-v|--verbose] [-V|--version] [KernelVersion]
DESCRIPTION
lvmcreate_initrd creates a new compressed initial ramdisk /boot/initrd-lvm-KernelVersion.gz. The initial ramdisk contains all necessary
binaries, shared libraries and a linuxrc file to switch to a logical volume based root filesystem. To build an initial ramdisk for a ker-
nel other than the one currently running add the KernelVersion parameter (e.g. lvmcreate_initrd 2.3.25) on the command line.
OPTIONS
-h, --help
Print a usage message on standard output and exit.
-i, --iop IOP
Specify the LVM kernel IOP version if you are using wrapper scripts in /sbin. This is only necessary if you are building an initrd
for a kernel other than the current one, and you have tools for multiple IOP versions installed.
-D, --devfs
Force the use of devfs when building the initrd. lvmcreate_initrd by default probes for devfs by checking for /dev/.devfsd, which
is created by devfsd when it is running. This option will force lvmcreate_initrd to do this, when devfsd is not currently running.
-v, --verbose
Gives verbose runtime information about the creation of the ram disk image.
-V, --version
Print version number and exit successfully.
The necessary actions to change your system into a "root on logical volume" one are:
Create a small (~20MB) partition which is BIOS reachable to hold the /boot filesystem (if you already have a small partition based root
filesystem this can be used instead). If you want to boot standalone from this partition in an emergency, copy all the necessary binaries
and libraries to that filesystem as well and create a corresponding /etc/lilo.conf entry. In order to be able to edit lilo.conf when booted
standalone, you should move /etc/lilo.conf to /boot/lilo.conf and create a symbolic link to it in /etc. This is not needed if you have a
boot/root floppy which contains the LVM binaries and the library.
Create all logical volumes you need (for root, usr, opt etc.), create filesystems in them, mount them and transfer all files from the par-
tition based filesystems into the logical volume based ones.
Set up your /etc/lilo.conf with a boot configuration like:
image = /boot/vmlinuz
initrd = /boot/initrd-lvm-KernelVersion.gz
root = /dev/YourVG/YourRootLV
label = rootonlv
append = 'ramdisk_size=8192'
Replace YourVG and YourRootLV by your actual volume group and root logical volume names. You also need to change the ramdisk size to be at
least as large as that reported while lvmcreate_initrd is run. If you have enough memory, it is OK if the ramdisk size in /etc/lilo.conf
is larger than what lvmcreate_initrd reports (the memory is freed after booting). Also, your /etc/fstab in the root logical volume should
contain entries for the root LV, and the boot partition, along with any other LVs you have configured:
/dev/YourVG/YourRootLV / ext2 defaults 0 1
/dev/YourBootPartition /boot ext2 defaults 0 2
/dev/YourVG/YourUsrLV /usr ext2 defaults 0 3
/dev/YourVG/YourOptLV /opt ext2 defaults 0 4
etc.
You can use other supported filesystem types as well (e.g. reiserfs) if you have support for those in your kernel. Run lilo, reboot and
try...
The partitions containing the former /usr, /opt etc. filesystems can now be used as physical volumes. Use pvcreate(8) to turn them into
PVs and then use vgextend(8) to add them to e.g. YourVG.
DIAGNOSTICS
lvcmcreate_initrd returns 0 for success. 1 is returned in all other cases.
SEE ALSO
lilo(8), lilo.conf(5), fstab(5), lvm(8), pvcreate(8), vgextend(8), lvcreate(8), vgcreate(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS LVMCREATE_INITRD(8)