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.
am very new to linux... i installed mandriva 2007 and was amazed by its features.... but all of a sudden after 3 days am not able to boot into the linux....
it's telling "vfs: unable to find ext3 filesystem on hda8 "
and ending with the msg.. "kernerl panic: not syncing.Attempted to kill init"
but am able to boot into xp which is in my primary c drive..
do i need to reinstall??? or some other way is there??
For the Linux not booting issue looks like you have somehow deleted the partition or changed the type of it. Windows not booting could be because of some similar issue.
Recollect if you have changed any partition/filesystem related change u made recently on the system. Make use of rescue mode to get access of the partitions on the disk and see if you can mount them manually in rescue mode.
i didn't do anything except uninstalling system mechanic in xp. i dont think it ll be a prob , right?.... am able to boot into xp....
and when i put the mandriva installation dvd and choose rescue.. it also showing some error and asking me to reboot..
is there any other way??
pls help me....
Mandriva Disk one probably can function as a rescue disk as well. Boot from CD and at the boot prompt type linux rescue. This is how most installer work, but I don't know Mandriva well enough to say for certain.
hd8 is a strange device. Usually it is hda or sda,depending on if it is ATA or SCSI. I assume you meant hda. /sbin/fdisk /dev/hda and then print the partition table. Do not make any changes to your partition table or you may screw your windows partition as well.
What do you have there?
My guess is something correupted either your /boot or / (root) partition.
I think there is something wrong with lilo configuration, Mandriva does not give you the option of using ext3 file system. It formats ext2 by default. If you installed the default boot loader it is lilo, you will have to search for knowledge on how to re-build lilo configuration with the installation disc, grub is an option as a boot loader in Mandriva and is easier/better to work with.
my linux is sitting on hda7 and i gave around 700 MB as linux swap which is hda8...
hda8 is linux swap partition
i donno why it is showing the following:
"No resume device specified
echo: cannot open /proc/suspend2/do_resume for write: 2
Mounting root filesystem /dev/root
vfs: can't find ext3 filesystem on dev hda8
mount: error 22 mounting ext3 flags defaults
vfs: can't find ext3 filesystem on dev hda8
mount: error 22 mounting ext3
vfs: can't find ext3 filesystem on dev hda8
mount: error 22 mounting ext3
switching to new root
Error opening /dev/console!!!: 2
unmounting old /proc
unmounting old /sys
switchroot: mount failed: 22
initrd finished
kernel panic-not suyncing: attempted to kill init"
and when used rescue disk through mandriva installation cd
and choosing mounting partitions /mnt
it is showing all the partitions followed by the message:
"found: /dev/hda7 already mounted or /mnt/mnt/win_f busy
mount: according to mtab, /dev/hada7 is mounted on /mnt
your system is ready on /mnt"
mounting other partitions
.
.
. "found a Mandriva Linux Root partition on /dev/hda7
"type ext3, version 'Mandriva Linux Release 2007.0 (official) for i586' "
and hwo to print the partition table???
when i type /sbin/fdisk/dev/hda in console window under rescue option it is showing no such directory ....
You must have used a different utility to format you root partition, because I tried everything to get ext3 when I installed Mandriva 2007 and it would not give me ext3, only ext2. Or...maybe it's because I used an existing partition that was not formatted, I did not use Mandriva to make the partition, only format it.
Quote:
"No resume device specified
echo: cannot open /proc/suspend2/do_resume for write: 2
I still think it is a boot loader problem, although /etc/fstab may be involved, but according to the error I quoted above, there seems to be some problems with pointers to root and swap partition. If you installed the default boot loader, it is lilo, I changed mine to grub in the final configurations at the end of installation. I post my /boot/grub/menu.lst to show what it should look like in case you used grub also. When using the install disc in rescue, you should be able to look at your lilo.conf with command:
Quote:
less /etc/lilo.conf
Or if you used grub:
Quote:
less /boot/grub/menu.lst
Here is my /boot/grub/menu.lst:
Quote:
timeout 6
color black/cyan yellow/cyan
default 0
title linux
kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 resume=/dev/sda2 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
title linux-nonfb
kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 resume=/dev/sda2
initrd (hd0,0)/boot/initrd.img
title failsafe
kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 failsafe resume=/dev/sda2
initrd (hd0,0)/boot/initrd.img
title 2.6.17-11
kernel (hd0,0)/boot/vmlinuz-2.6.17-11mdv root=/dev/sda1 resume=/dev/sda2 splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.17-11mdv.img
Notice in the first section called "title linux" it has "root=/dev/sda1 resume=/dev/sda2", this is reference to which partition is root and which is swap, the resume=/dev/sda2 is swap. Because according to the errors you posted, it cannot find the /boot sector of the root partition, which tells me it can't read /etc/fstab yet which is in the root partition.
Something tells me you're not mounted properly, you may have to include the directory in the command including the mount point, I have not had the opportunity (lucky me) yet to use rescue mode.
BUT: This link below looks like a simple, easy to understand tutorial on using the Mandriva CD in rescue mode. I would not be afraid to try the "Re-install bootloader" option, but that's me. You should give this article a good skimming over.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.