LinuxQuestions.org
Register a domain and help support LQ
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 09-09-2012, 09:00 AM   #1
ciforbg
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Rep: Reputation: 1
Upcoming hardware upgrade - potential drivers issues


Hello all,

I need some help. I am running a Fedora 16 (3.4.9-2.fc16.x86_64) linux on my Desktop machine. Next week I am going to do a hardware upgrade. My current hw is: Intel Q2Core Q6600 CPU; Asus P5KPL MBoard, DDR2 A-DATA 2x2GB Mem.
These will be replaced by: Intel i7 3770 CPU; Asus P8H77-V LE; 4x8 DDR3 A-DATA 1333.


I have two Hitachi HDDs (500GB each) in a Raid-0 config:
Personalities : [raid0]
md0 : active raid0 sdb1[1] sda3[0]
925057024 blocks super 1.2 512k chunks

As I will put out the old hw, and place the new, is there anything I should ensure in order for the OS to boot up properly? If the OS does not detect by itself the new motherboard,cpu and memory, how can I make it install proper drivers?

And I also want to use the system for virtualization purposes. I want to use Xen, and considering this what should be done to make my current Fedora OS as the dom0?

Please advise.

Thanks in advance!

Last edited by ciforbg; 09-12-2012 at 02:45 AM. Reason: solved
 
Old 09-09-2012, 09:17 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Linux is not windows.
In Linux a kernel wakes up and looks around. It doesn't care what it booted on last. It will try for drivers(=kernel modules) for everything it finds, or everything you have set up. Never had a problem booting. The one hitch is that disk speed may be slower if the driver for the chipset isn't chosen/available. X may need to be told about the video card (if new), but often not.
 
Old 09-09-2012, 09:22 AM   #3
nguyeng
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 18

Rep: Reputation: 1
Are you still running the generic kernel? Or have you recompiled it with your own configuration?
 
Old 09-09-2012, 09:51 AM   #4
ciforbg
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Hi nguyeng,

the kernel is the same, I didn't touch it.

@ business_kid,

Thanks for that info. I am aware that in Linux are called modules, instead of drivers. How to tell if I currently have them for that kernel? and about the video, it will use the one on the motherboard instead external card, as it was 'till now - how to check if X is gonna work properly?
 
Old 09-09-2012, 10:36 AM   #5
nguyeng
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 18

Rep: Reputation: 1
Edit: I just reread your post have noticed something extremely important. You are not using a designated raid card? Are you using the mobo to do your raid? Or is it a software raid in linux. If you are using the mobo for raid you will encounter problems moving it to a new mobo. It seems like you have it set up as a software raid because of your listing of it as md0, but I just want to be sure.

You should be fine. The kernel that comes with most distros are, by default, compiled with everything a typical user would need in modules. Therefore, when you switch ever to the new hardware the kernel will automatically load the appropriate modules that are need if there are any. Worst case scenario would be that your new hardware is not supported by the kernel (it should be) and you will have to resort to some proprietary drivers.

FYI, not only can drivers be compiled as modules, they can also be built into the kernel. In fact some things such as filesystem support (ext2, ext3, etc.) are needed at kernel startup and must be built in or included in initramfs, because how would the kernel load modules from the hd if it wasn't able to navigate the partitions filesystem to find them.

Last edited by nguyeng; 09-09-2012 at 10:43 AM. Reason: added a question to op
 
Old 09-09-2012, 11:05 AM   #6
ciforbg
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Thanks a lot for your feedback!

Quote:
Originally Posted by nguyeng
Or is it a software raid in linux. If you are using the mobo for raid you will encounter problems moving it to a new mobo. It seems like you have it set up as a software raid because of your listing of it as md0, but I just want to be sure.
>> correct, it's a software RAID.

Quote:
Originally Posted by nguyeng
Worst case scenario would be that your new hardware is not supported by the kernel (it should be) and you will have to resort to some proprietary drivers.
>> how do I do this?

Quote:
Originally Posted by nguyeng
FYI, not only can drivers be compiled as modules, they can also be built into the kernel.
>> should I search for the respective modules (from the manifacturer website) and put them in there?



And please just tell me if I am going to use Xen, as I want to, what steps should I follow to make my OS dom0 and grant it the total control of the resources that would later be available to the domU machines?

Thanks!
 
Old 09-09-2012, 03:55 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Quote:
Originally Posted by ciforbg View Post
Hi nguyeng,

the kernel is the same, I didn't touch it.

@ business_kid,

Thanks for that info. I am aware that in Linux are called modules, instead of drivers. How to tell if I currently have them for that kernel? and about the video, it will use the one on the motherboard instead external card, as it was 'till now - how to check if X is gonna work properly?
They're in /lib/modules/<kernel-version>

If the generic kernel is being used, you have them
 
Old 09-12-2012, 02:44 AM   #8
ciforbg
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Thanks all. It worked like a charm. I've just replaced the hardware, and booted up smoothly.

Solved.
 
  


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
[SOLVED] New to Fedora... Can I clean-install upgrade and keep all my packages? Claudee Fleming Fedora 3 06-25-2012 10:29 PM
Can't boot to Fedora after clean install over upgrade tron_thomas Linux - Laptop and Netbook 13 08-27-2011 09:56 AM
Fedora Core 4: Upgrade or Clean Install? timswim78 Fedora - Installation 2 06-12-2005 05:14 AM
Fedora Core 1 clean install, upgrade the kernel or no? spiffdoodle Fedora 2 02-25-2004 07:43 PM


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