LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-02-2007, 02:44 PM   #1
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
FC4 not booting from Harddrive


I tried starting my Linux machine and it did not come up.

I have installed Fedora Core 4 on my system around last year and have data on the hard drive that i want to restore before reinstalling any linux distribution.

I use grub as the boot loader, this is what i see on the screen

----------------- start of what i see when i try to boot fc4 -------
Booting 'Fedora Core (2.6.11-1.1369_FC4)'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
[Linux-bzImage, setup-0x1e00, size=0x18e473]
initrd /initrd-2.6.11-1.1369_FC4.img
[Linux-initrd @ 0xfe0e000, 0x1a1416 bytes]

Uncompressing Linux... Ok, booting the kernel.
ACPI: BIOS age (2000) fails cutoff (2001), acpi=force is required to enable ACPI
Red Hat nash version 4.2.15 starting
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
2 logical volume(s) in volume group "VolGroup00" now active
EXT3-fx: can't read group descriptor 3
mount: error 22 mounting ext3
ERROR opening /dev/console!!!!: 2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
switchroot: mount failed: 22
Kernel panic - not syncing: Attempted to kill init!
----------------- end of what i see when i try to boot fc4 -------

Q. Any suggestions?

I have burnt a linux resuce CD for FC4 and will try it with that as well.
 
Old 07-02-2007, 03:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Since FC4 is obsolete, why not just boot with a Live CD, get your data, and then install the modern distro of your choice?

Most of the top distros come as a Live CD so there is no extra effort.
 
Old 07-02-2007, 03:35 PM   #3
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, i tried with Knoppix 3.6 but was not able to mount the hard drive in a read or read-write mode.

Can you suggest me any other distribution of Live CD, that can help me do this.

Thank You
 
Old 07-02-2007, 04:00 PM   #4
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Tried using linux FC4 resuce CD

I tried booting using a FC4 linux rescue CD

1. Not able to mount the file system on the first go

2. Booted without mounting the file system, so it put me to the bash shell prompt

i. ls /dev/mapper -> did not show anything
ii. fdisk -l -> to see what partitions are there
/dev/hda1 -> boot partition
/dev/hda2 -> LVM partition
iii. lvm diskscan -v
/dev/loop0 77.65 MB
/dev/hda1 101.94 MB
/dev/hda2 76.23 GB LVM phy volume
0 disks
2 partitions
0 LVM physical volume whole disks
1 LVM physical volume
iv. lvm lvscan -> to see if the partition is active
Both the partitions are not active
v. lvm vgchange -a y -> to activate all the partitions
vi. lvm lvscan -. to see if the partitions are active now

# Tried mounting the LVM volume now
vii. mkdir /mnt/hda2
viii. mount /dev/mapper/VolGroup00-LogVol00 /mnt/hda2
It gives an error
"mounting /dev/mapper/VolGroup00-LogVol00 /mnt/hda2 failed invalid argument"
I tried this with different options
mount -t ext3 /dev/mapper/VolGroup00-LogVol00 /mnt/hda2
mount -t reiserfs /dev/mapper/VolGroup00-LogVol00 /mnt/hda2
mount -t ext2 /dev/mapper/VolGroup00-LogVol00 /mnt/hda2

Don't know what the problem is and why i am not able to mount the LVM volume.

Q. Any suggestions what i can do further?
 
Old 07-02-2007, 06:25 PM   #5
Enochs
Member
 
Registered: Jun 2007
Location: Georgia
Distribution: Fedora
Posts: 50

Rep: Reputation: 17
Shot in the dark...

If you are booting with the FC4 rescue CD then you should be able to "run_qtparted" This will let you examine and repair the disk partitions as needed.

If you are unable to run qtparted:.... With FC7 there is an install option that lets you upgrade/fix your OS without overwriting your data. When you get to the options to select Overwrite all partitions, Overwrite all Linux partitions...etc there should be an option to keep your existing Linux partitions and reinstall without overwriting your personal data. I assume that option is also in FC4.
 
Old 07-05-2007, 10:28 AM   #6
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
used Knoppix Live CD

pixellany, tried using a live CD from Knoppix and had no luck mounting the lvm volume.

I put the details in this link.
http://www.linuxquestions.org/questi....php?p=2811756

Any suggestions?
 
Old 07-05-2007, 10:34 AM   #7
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
using qtparted

Enochs, i tried using qtparted tool from knoppix (graphical version) and it can see
/dev/mapper/VolGroup00-LogVol001 [75.69 GB] and
/dev/mapper/VolGroup00-LogVol011 [512 MB]

Q. Is there a command that i can run from the command line to run qtparted to check the drive i am interested in?

Thank You
 
Old 07-05-2007, 02:04 PM   #8
Enochs
Member
 
Registered: Jun 2007
Location: Georgia
Distribution: Fedora
Posts: 50

Rep: Reputation: 17
Qt Parted

According to your earlier post, the FC4 rescue CD identified your boot partition. You ran qtparted from knoppix and it did not appear to identify your boot partition. I would go back and boot the rescue CD again. You can run qtparted from the command line once you boot from the rescue cd "run_qtparted". This will open a graphical version as well and you can then select the drive/partion that you want.
I would also have to agree with pixelly(?) above. If you can't repair or retrieve your data with the rescue CD then I would try downloading the Live DVD for FC7. You will boot the live CD and right on your desktop you will see the icon to upgrade to FC7. When you get to the right point, select keep all existing linux partions (this option should indicate that your user data will be saved). This "should" pull all of the user data from FC4 and upgrade to FC7 at the same time. Try the rescue CD and qtparted again first because if the upgrade option does not work, you may lose the data.
If you are not sure what file to download and burn for your FC7 live DVD just let me know.
 
Old 07-16-2007, 12:34 PM   #9
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hard Drive Failure

Thanks Enochs.

QTParted also did not work for me. I tried installing/upgrading FC4 and FC6 but both these fail at the step when they try to see what previous OS is installed on my system.

I saw in some other forum suggesting to run Knoppix and run smartd or smartctl to see if there are any errors on the hard drive.

I have a Maxtor Hard Drive and seems to have some history saying that memory is bad. Don't have any screen shots with those messages.

I formatted my hard disk with QTParted when running Knoppix and installed FC6 on my system and it is up and running.

Seem to have lost the data on my hard drive. Planning to add a 2nd hard drive to my system and do frequent backups to have another copy of the data.
 
Old 07-20-2007, 08:14 PM   #10
Enochs
Member
 
Registered: Jun 2007
Location: Georgia
Distribution: Fedora
Posts: 50

Rep: Reputation: 17
Ghost

Sorry to hear about the lost data but glad to gear you have your FC7 up and running. May I recommend Norton Ghost 12.0. The 12.0 version is Visa compatible and it backs up Linux drives as well as Windows. When I screw up, I just apply my last Ghost image. No reinstalling ANYTHING or downloading updates for hours. Most OS backup/recovery utilities are not designed to recover your entire system but let's get real....if you boot multiple OS then you need the ability to recovery the entire system. No, I don't work for Norton....I just screw up a lot!

Take care,

Jay
 
Old 07-30-2007, 07:36 AM   #11
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Enochs.

Is Norton Ghost Free? or can i get a free trail version to try it out before i want to buy it?
 
Old 07-30-2007, 11:50 AM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
satishp

A lot of the issue you had with recovery is using lvm. A lot of us avoid it like the plague. If you format to straight ext3 (no lvm) recovery is almost always very simple.

Good Luck
Lazlow
 
  


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
Booting linux on harddrive connected to ide2 ilikesci Linux - General 6 10-08-2006 11:15 PM
Booting a windows harddrive bob3dan Fedora 2 08-25-2006 03:41 PM
Booting harddrive moved to slave position can564 Linux - Hardware 32 03-18-2006 12:27 PM
Installing FC4 from harddrive ISO - how can you Graham_UK Fedora - Installation 2 04-14-2005 08:42 PM
Help mounting harddrive after booting from cd pclark54 Linux - Newbie 4 01-19-2004 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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