LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-26-2007, 10:02 PM   #1
escoson
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Linux server does not boot after adding second hard drive


I had a working Linux server acting as a network attached storage. It was running low on space so I added an additional disk. As a Linux newbie I tried exteneding the current partition with the new disk using the Logical Volume manager. In seeing that maybe that would not be a good idea to extend the current partition, I decided to create a new volume group and assign the new hard drive to the new volume group. I think the major mistake I made was mounting the new hard drive to itself using "/:" as a mount point and telling it to 'automount'. When I rebooted the server that's when I noticed the mistake.

When I reboot now it loads up a GNU GRUB version 0.97 prompt instead of booting into Fedora 6.

I tried a recovery install and upgrade installs but I keep getting the following error "Error mounting device VolGroup01/xxx as /: No Such File or directory. Devices in /etc/fstab should be specified by label, not by device name.
Press OK to exit the installer."

Apparantly I need to comment out the new volume in the fstab file but I have no I dea how to do so using GRUB. I've tried LIVE CDs as well but no luck so far. Any ideas on what to do without losing the data on the old drive? Thanks in advance.
 
Old 12-27-2007, 09:27 AM   #2
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
Couple of things you could try...

I may be missing the mark a little, but I would say that there are about two things, that I can think of, anyway, that can be done:

Use a live cd, chroot to the root partition on the old drive and see if you can get in that way

Do a fresh install on the new drive and mount the old drive as something other than /.

It seems that you know what happened and it sounds like grub is more than a little confused as to where the / filesystem is (where it exsits on both drives).

Good luck in your repair.
 
Old 12-29-2007, 01:33 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
I'm just starting on LVM, but I believe everything I've read indicates that / (the root FS) must be on a plain primary partition -- no RAID, no LVM.
 
Old 12-29-2007, 05:09 PM   #4
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by archtoad6 View Post
I'm just starting on LVM, but I believe everything I've read indicates that / (the root FS) must be on a plain primary partition -- no RAID, no LVM.
Yes, that is correct /boot must not be in a LVM and I do not believe you can set it up this way but I may be incorrect?
 
Old 12-29-2007, 05:16 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Read my post "F8 x86_64 won't install Boot Loader" (last post 29 Dec,2007)
I had the same problem installing Fedora 8.
 
Old 12-30-2007, 12:07 AM   #6
escoson
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
The fix

I was able to resolve this problem by installing FC 6 on the new hard drive and mounting the old hard drive to a new folder. Then I was able to browse to /etc/fstab on the old hard drive to fix the boot entries. I could not mount the drive using 5 different live CDs and FC 8. All could not mount the drive. Thanks all.
 
Old 12-30-2007, 11:03 AM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
I did a upgrade from F6 > f8 with very few problems on a i386 laptop,
all I really had to do was upgrade repos to 7 > 8 and change all the hda > sda in fstab, grub menu.lst, and rum "yum clean all" and lastly "upgrade"
and delete a few packages that was causing conflict problem.
I also did a upgrade from F7 > F8 on a x86_64 using the same procedures on the i386 except , I didn't have to touch the hda > sda , because F7 is aready using sda partitions.
But lastly I did get hold of one other x86_64 that threw me every which way but loose. But this is how you learn Linux, fixing problems.
Boy!! one day I,m going to be brilliant on Linux.
 
  


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
Adding Windows to a Linux Hard drive Poneyboy Linux - Hardware 2 05-07-2006 08:19 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
adding new hard drive to existing linux box jaysan Linux - Newbie 2 08-09-2001 06:27 PM
Adding a new hard drive to a win98 box to install linux jcrash Linux - Newbie 3 01-14-2001 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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