LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-08-2005, 10:23 AM   #1
Ynog
LQ Newbie
 
Registered: May 2003
Posts: 26

Rep: Reputation: 15
Imaging CF card - Grub question


Here is my situation.

Currently I have a Linux system running off just off a CF card. I want to take an image of that CF card and place it on another new CF card, so that the system can run just off that card. Now I can put the image on fine, however setting up grub on the new card so that it can boot off only that card is what I'm not so sure about.

The original CF card had grub install on the MBR. This didn't image over. Here is my question. To get grub on the new MBR what exactly needs to be done.

I have the new CF card in CF Card reader on a linux system. What needs to be passed to grub or grub-install, so that grub is install to the MBR on the CF card using only info from data on the imaged CF card. And doesn't effect grub on the local system.

One last thing, is this the correct way to do it.

grub -

grub> root(hdX,0)
grub> setup(hdX)
grub> quit

where hdX is the device containing the CF card.

Does this modify the grub on the local system, or just create a grub on the CF card, so that when used alone it is ok.

Last edited by Ynog; 06-08-2005 at 10:28 AM.
 
  


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
Imaging kandikonda_sat Fedora 2 11-16-2005 06:22 AM
imaging HD MACSRULE Linux - Newbie 1 07-30-2005 11:49 PM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Suse 9.1 imaging mnripley SUSE / openSUSE 0 11-25-2004 01:17 PM
Imaging CD zedman Linux - Software 4 10-08-2004 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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