LinuxQuestions.org
Visit Jeremy's Blog.
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 01-09-2010, 08:21 PM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Rep: Reputation: 30
CloneZilla Q...what happen to my /boot partition?


I had to replace a Western Digital 80GB...I bought another Western Digital (80GB)...different model number though.

I installed the drive and tried to use ClonZilla to restore my OpenSuse 11.0 image to the new drive...CZ reported that all went well but after I booted the file/system I got the error "/boot/vmlinuz could not be found".

Upon further inspection CZ only restored the /root and /home partition. I am completely sure that when I backed up the system I pick disk-to-disk and save to an image. So why didnt the /boot partition get backed up?

What are my options...any, but a complete reinstall?
I Googled CloneZilla and watched two video's about backing up and restoring and it appears that I did everything correctly...confused!!
I have tried the same image twice, same result...I have two "other" images should I try one or both of those?
Thoughts please! Thanks...
 
Old 01-09-2010, 11:17 PM   #2
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Rep: Reputation: 0
CloneZilla...what happen...?

Quote:
Originally Posted by cbjhawks View Post
I had to replace a Western Digital 80GB...I bought another Western Digital (80GB)...different model number though.

I installed the drive and tried to use ClonZilla to restore my OpenSuse 11.0 image to the new drive...CZ reported that all went well but after I booted the file/system I got the error "/boot/vmlinuz could not be found".

Upon further inspection CZ only restored the /root and /home partition. I am completely sure that when I backed up the system I pick disk-to-disk and save to an image. So why didnt the /boot partition get backed up?

What are my options...any, but a complete reinstall?
I Googled CloneZilla and watched two video's about backing up and restoring and it appears that I did everything correctly...confused!!
I have tried the same image twice, same result...I have two "other" images should I try one or both of those?
Thoughts please! Thanks...

If possible, do not re-install. There's usually a way to fix things like this simply. It may involve correct config of Grub, which would be like:

user@linux:~> sudo /usr/sbin/grub
grub> root (hd0,0)
root (hd0,0)
(Returns "Filesystem type is ....")
grub> setup (hd0,0)
setup (hd0,0)
(Then "checking if...)
Done
grub> quit
quit
user@linux:~>
------------------------------------------------------

This might work, I used it when facing a similar problem. I've not been syntactically correct but it might set you in the right direction.

Zeno
 
Old 01-09-2010, 11:28 PM   #3
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
If your boot partition does not exist in the partition table, create a new one or use your root partition. Getting a new kernel image should not be a problem.
 
Old 01-10-2010, 09:43 AM   #4
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
elv13.... zenofronia...

elv13 -
how do I get an kernel image that matches my system (Opensuse 11.0)? From Novell/Opensuse...google?

zenofronia -
I tried to reinstall grub from my opensuse 11.0 disk and it failed saying something about a "bad superblock"...not sure what that means...should I try it your way as well?

fyi hda = winxp
hdb = linux

tried to reinstall grub in hda...opensuse put it there from fresh install.

Last edited by cbjhawks; 01-10-2010 at 09:44 AM. Reason: left out info
 
Old 01-10-2010, 11:27 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
In your first post you indicated that you replaced a drive and tried to reinstall a cloned image to the new drive. In your last post, you refer to two drives, hda=winxp, hdb=linux. Do you now have two drives attached? What was your setup prior to restoring the cloned image, which drive was Opensuse on originally and was xp on that drive? If you cannot boot Opensuse, do you still have the installation CD (or any Linux Live CD) that you can use to get partition information to post here? Run "fdisk -l" command as root (lower case Letter L in the command).
 
Old 01-10-2010, 02:14 PM   #6
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
yancek...sorry for the confusion...

hda is winxp master
hdb is opensuse slave

I replace my original Western Digital 80GB with another 80GB from Western Digitial...different model number...I then tried to use a image created by CloneZilla.
Yes I have an install disk and have tried three times to reinstall grub...twice from Yast and once from the rescue system option...all three times I get the same response. "The superblock could not be read or does not contain a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem then the superblock is corrupt"

Note: I try to reinstall grub at hda, hda is ntfs so of course if doesnt contain an ext2/3 f/s.
CloneZilla reinstalled two partitions /root and /home...
When using GParted the /root has a /boot sub-directory thats contains what appears to be the files I need (ie...vmlinuz...and a separate /grub directory) GParted describe my 80GB as hdf2,3...confused.

The original install put grub at hda...where do I go from here?
 
Old 01-10-2010, 03:56 PM   #7
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by cbjhawks View Post
elv13 -
how do I get an kernel image that matches my system (Opensuse 11.0)? From Novell/Opensuse...google?

zenofronia -
I tried to reinstall grub from my opensuse 11.0 disk and it failed saying something about a "bad superblock"...not sure what that means...should I try it your way as well?

fyi hda = winxp
hdb = linux

tried to reinstall grub in hda...opensuse put it there from fresh install.
From yast
 
Old 01-10-2010, 03:56 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
On which drive was Opensuse before you cloned it? hda, or was that only windows? hdb? Where did you save the image, to what drive?

If you restored the image of Opensuse to hdb, then you need to put Grub stage1 file in the master boot record of hdb. If you do this, you will then need to set hdb to first boot priority in the BIOS in order to boot it.

What commands do you use to install Grub to hda? You could install Grub stage1 to the master boot record of hda and have it point to the /boot directory on the hdb for the rest of the Grub files to boot. You should not try to install the /boot/grub directory to hda where you have windows.

It doesn't appear to me that you had a separate /boot partition but rather a /boot directory in your Opensuse root partition.

If you originally had windows on hda and booted Opensuse and windows from Grub on sda, you should be able to do that again. Use your Opensuse CD or any Linux Live CD, open a terminal and as root (type su -)run the command "fdisk -l" (without quotes and lower case Letter L) to post that partition information here. Have both drives connected when you do this.
 
Old 01-10-2010, 04:16 PM   #9
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Rep: Reputation: 0
Quote:
Originally Posted by cbjhawks View Post
elv13 -
how do I get an kernel image that matches my system (Opensuse 11.0)? From Novell/Opensuse...google?

zenofronia -
I tried to reinstall grub from my opensuse 11.0 disk and it failed saying something about a "bad superblock"...not sure what that means...should I try it your way as well?

fyi hda = winxp
hdb = linux

tried to reinstall grub in hda...opensuse put it there from fresh install.


For the definition of Linux terminology, locate a Linux dictionary...there should be one in the LQ site. Bad Superblock can have many meanings; if it doesn't signify bad medium (your new drive) then it can be repaired without too much fuss. There is a ton of documentation available online. If you have a dual boot scenario, two O.S., then you might want to put Grub in the first boot partition on the drive.
Sorry I can't be of more help except to encourage you to see this as a great learning opportunity. Hopefully you have another box for work purposes while you thread your way through your problem.

Have you used a partition editor? gparted is downloadable and the best one, in my opinion. It shows you the partitions on your drive and enables you to do all sorts of things to them.

Zeno
 
  


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
Clonezilla - partition from one computer to another jwilliam Linux - Software 4 04-18-2010 05:16 AM
Need help with restoring a Clonezilla image to larger partition EdgesofTwilight Linux - Newbie 7 01-03-2010 08:59 AM
Clonezilla restore to smaller partition jean.eckard Linux - General 5 10-10-2009 08:51 AM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 09:17 AM
new install Ubuntu, what will happen if cp all the files to new partition? gootoo Ubuntu 2 10-04-2006 08:13 PM

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

All times are GMT -5. The time now is 05:35 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
Open Source Consulting | Domain Registration