LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-23-2007, 09:55 AM   #1
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Rep: Reputation: 15
not able to boot


hi...

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??

plese help me out soon...

Last edited by seenugece; 03-24-2007 at 06:21 AM.
 
Old 03-23-2007, 10:58 AM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
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.
 
Old 03-23-2007, 11:27 AM   #3
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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....

Last edited by seenugece; 03-23-2007 at 11:39 AM.
 
Old 03-23-2007, 03:44 PM   #4
admiyo
LQ Newbie
 
Registered: Dec 2006
Location: SF Bay Area
Distribution: RHEL[3|4], Debian, CentOS
Posts: 15

Rep: Reputation: 0
Resuce Disk

Use a rescue disk to check out what you have.


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.
 
Old 03-23-2007, 09:34 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 03-24-2007, 06:27 AM   #6
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
i ll try using rescue disk.. and get u back...

and while installing mandriva 2007 it showed an option of ext3... and i used that...
 
Old 03-24-2007, 12:25 PM   #7
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
sorry to tell this very lately....

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 ....

Last edited by seenugece; 03-24-2007 at 03:40 PM.
 
Old 03-24-2007, 01:10 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,949

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
You must be root but should not matter if using rescue on CD
/sbin/fdisk -l /dev/hda (that is a small L)

Last edited by michaelk; 03-24-2007 at 01:16 PM.
 
Old 03-24-2007, 03:53 PM   #9
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
on typing /sbin/fdisk -l /dev/hda... i got the following info in rescue mode

Disk /dev/hda: 80.0GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
units = cylinders of 16065*512 = 8225280 Bytes
Device Boot start end blocks id system
/dev/hda1 * 1 1946 15631213+ c W95 FAT32 [LBA]
/dev/hda2 1947 9729 62516947+ f W95 Ext'd [LBA]
/dev/hda5 1947 3731 14337981 b W95 FAT32
/dev/hda6 3732 5102 11012526 7 HPFS/NTFS
/dev/hda7 5103 5828 5831563+ 83 Linux
/dev/hda8 5829 5905 618471+ 82 Linux Swap/Solaris
/dev/hda9 5906 9729 30716248+ b W95 FAT32

This is what i got...

any idea???? pls help me out.....
 
Old 03-24-2007, 04:30 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,949

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Partition table looks ok.

Post your /etc/fstab file and your bootloader configuration file
grub i.e /boot/grub/menu.lst
lilo i.e. /etc/lilo.conf
 
Old 03-24-2007, 06:20 PM   #11
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 03-25-2007, 12:42 AM   #12
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
when i type the following in console am getting the following

/etc/fstab
permission denied

/etc/lilo.conf
no such file or directory exists

/boot/grub/menu.lst
no such file or directory exists

less /etc/lilo.conf
no such file or directory exists

less /boot/grub/menu.lst
no such file or directory exists

am using the right commands???
 
Old 03-25-2007, 01:38 AM   #13
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.

http://wiki.mandriva.com/en/Docs/Sys...CLI/DiskRescue
 
Old 03-25-2007, 10:50 AM   #14
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
i too tried re-installing bootloader.... but the problem still persists...
 
Old 03-25-2007, 11:25 AM   #15
seenugece
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
pls help me out to get out of this prob......

do i need to re-install the entire mandriva????

am left for more than 4 days with the same prob....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 07:04 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 05:34 AM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 01:09 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 08:23 AM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 06:29 AM


All times are GMT -5. The time now is 12:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration