Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i have Ubunta V4 i think, quite an old one anyway.
I am trying to clone this machine, using ghost v12, i tried a normal copy and a sector by sector copy, but each time i get a "GRUB error 17" when i restore to an identical machine when i try to boot, it freezes at this.
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
I'm by no means an expert at solving Grub problems. I did some googling and found some information that may help.
First of all, here is what error 17 means, from the Grub documentation.
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
So grub is not able to understand the file system for some reason. Ghost is a windoze program as far as I know; unless you have found a linux version. I wouldn't bet the bank it could read a linux file system properly. Did you copy this using Ghost under windoze?
Here is a thread I found with similar problems, and a way to find out what is going on. Have a look.
If you are bent on cloning a linux system, I would look for linux tools to do so. Keep in mind you will have limited success unless the hardware is identical, or very close. Things like audio and video partitioning etc have to match up, other wise kernel modules will have to be changed after the cloning process. It might be faster to just install to a new system.
Without knowing the complete configuration, this is only a guess:
GRUB gets installed in the MBR with the location of the /boot directory (containing kernel, stage files, menu.lst) "hard-coded" into it. Thus, you would need to clone the entire disk--including the MBR---AND the device referencing must be the same. e.g. when GRUB looks for it's files in --eg--(hd0,3), that partition needs to be hd0,3 on the new machine as well as the old one.
On your live cd, try mounting the partition that contains your Linux installation. Then, chroot to the root of that partition by typing "chroot /path/mounted" where path mounted is similar to /mnt/drive or /media/drive. Do not use /dev/hdxx. Now, do the following procedure:
After you chroot, try doing the procedure I listed above, without the configfile line. Then reboot, and grub should work. If not, would you please post your menu.lst file and your /etc/fstab file? These would help a lot.
its all working fine now. I didn't try your second idea. But as said, when i executed the menu.lst line got meesege saying file system not reconised. i thought it had failed, but restarted and its boots off the h/d with the ghost image restored so i have an exact clone now.
think it was the chroot command which did it but not sure