Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-22-2008, 03:16 PM   #1
LQ Newbie
Registered: Jun 2008
Distribution: Mandriva 2008
Posts: 2

Rep: Reputation: 0
Question Help with Mandriva 2008

Hi, I've had Mandriva 2008 installed for a while, together with Windows Xp. Now I bought two 500GB Hard Drives, and I've put them in Raid 1, so I had to change the positon of my original hard drive where linux was installed. It seems that /dev/sda5/ changed to /dev/sdc5/. Now I can only have acess to the console. Is it possible to change the path for Linux to boot normally or should I reinstall? If I change the drives to the way they were, Linux works as before, so I hope that changing the path is possible (Mandriva's bootloder is still showing up). Thx.
Old 06-22-2008, 10:40 PM   #2
LQ Addict
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,296

Rep: Reputation: Disabled
Not quite enough info but close....

1) please describe bios boot order

2) are raid devices via onboard raid card or some other raid way?

3) thanks for mentioning mdv bootloader shows up....but can you use it to boot into ms?

4) Ideally I would like you to leave your new setup.....bios to boot to linux drive and use chainloader command to boot to ms raid drives.....but you will need to change the the grub menu for the kernel line root= from /dev/sda5 to sdc5 and change your /etc/fstab line to reflect the new positions......if you know about UUID you can change grub and fstab to use UUID and then that makes life a little easier if you change again.

uuid is mentioned in my signature but please advise how you WANT to setup your system and we can take it from there.
Old 06-23-2008, 05:30 AM   #3
LQ Newbie
Registered: Jun 2008
Distribution: Mandriva 2008
Posts: 2

Original Poster
Rep: Reputation: 0
1) Well Windows is on the same drive as Mandriva (that would be /dev/sdc,
and I is the first drive to boot in Bios (after CD-Rom :P).
2) It's via a onboard controller on GigaByte GA-P35-DS3P, seems to work in Mandriva if I connect them in a strange way, so the driver is not a problem (there's only music on them, no Windows, no Linux), just can't get them both to work together.
3) Windows is booting and if I change the command line from /dev/sda5/ to /dev/sdc5/, Linux also starts to boot, but gives me an error that /dev/sda5 is not accesible and asks for root password and moves me to console.
4) It seems that I just need to change /etc/fstab line, and then grubs line (well it can be changed when loading manually so if I get Linux to boot it can be changed from there).
So how do I change /etc/fstab/ (/dev/sda5/ to /dev/sdc5/) in the console correctly? Maybe I should use Knoppix or something?

Thanks for your help, seems that the problem is not that serious. =)

EDIT: So i tried using "vi /etc/fstab", it opens the file, but in read only, nothing helps, sudo, chmod -c +rwrwrw /etc/fstab, it still is read only, both from the console that comes after the error and the console that opens after choosing rescue systyem on the installation CD. File does containt lines that I'm supposed to edit, just cant get it writeable. Maybe I should boot from knoppix or ubuntu?
EDIT: Well, I reinstalled it, everything works so far, thx anyway.

Last edited by Chaosdragon; 06-23-2008 at 01:14 PM.


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
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 05:10 PM
LXer: DistroWatch Weekly: First Look at Mandriva Flash 2008, Gentoo Linux 2008.0 sche LXer Syndicated Linux News 0 01-28-2008 06:30 AM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 05:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration