LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-05-2009, 10:28 AM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
clone causes 'missing operating system', is there a quick mbr fix


Here's the deal. We have a simple image created by the system-restore-cd linux app. The device has NO cd, so it's on a usb stick. But in the past, I would boot off a DSL (damn small linux) distro on a usb stick, do the install (30 mins), then reboot off the system-restore cd and re-image.

Took a little but worked. Well someone re-used the dsl usb stick, so I booted off the system-restore. Fdisked the local drive, made it bootable and restored the image. That is all fine, I can mount, look around, etc, but on boot I just get "missing operating system".

Not sure why if I install the whole OS first, then wipe it and restore an image it works. I can only assume it's the master boot record? If so, is there a simple mbr command you can issue, or does someone else have .02 to throw out.

Thanks
 
Old 06-05-2009, 11:12 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
bootloader?

grub.conf?

If the image is bootable, then a image copy on another usb should work fine

Last edited by amani; 06-05-2009 at 11:15 AM.
 
Old 06-05-2009, 11:37 AM   #3
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
That's what I would have figured, maybe the partimage app doesn't do something it should, as I have seen it first hand. In the past, I would have to run the whole install from the damn small linux, just to reboot and re-do the image, so there is something, and w/o that other stick I am stuck.

As for the bootloader, I mounted the flash drive, and there is a /boot/grub folder. So I am guessing there using grub. The menu.1st file shows; (removing a lot of the comments)

default 0
timeout 1
# Enter the entry for DSL here. Something like this.

title DSL
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal

title DSL fb800x600
kernel /boot/linux24 root=/dev/hda1 quiet vga=788 noacpi noapm nodma noscsi frugal

#title DSL with mydsl, restore, persistentancy, hostname, and passwords
#kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda3 restore=hda3 home=hda3 opt=hda3 host=DSL1 secure

I did look and all things seem fine (there is a /boot/linux24 kernel), it really seems to be something with the partition or boot.

Any suggestions or thoughts are appreciated. I tried a simple grub-install /dev/sda1 and got;
Could not find device for /boot: Not found or not a block device.

Thanks
 
Old 06-05-2009, 11:57 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
See http://www.partimage.org/Partimage-FAQ

It cannot make partitions
 
Old 06-05-2009, 12:16 PM   #5
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
Yea, that makes sense. I did make the partition first, (empty) so the restore copied everything it was supposed to. But it just didn't copy whatever hidden or however you want to word it 'things' to make it boot. In windows the old sys: command, or looking around and playing in the past, in windows you could syslinux -ma and that would work, not sure on a linux sustem how to say, make this bootable, but thanks for the link.

My new method is using clonezilla and it works great, but this device, I don't have any working one's to make a copy of, so I need this one to work to then image with clonezilla.

Thanks for the link though.
 
  


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
Mbr lilo (error load operating system) hellasyoda Slackware 14 04-20-2008 04:05 PM
Missing Operating System? Linux Newcomer Zenwalk 9 10-08-2006 12:10 AM
missing operating system! Tony/osIRIs Linux - Newbie 4 07-27-2006 08:22 AM
Missing Operating System battalion Linux - Software 26 02-23-2006 09:21 PM
'Operating System Missing' Eerath Linux - Newbie 6 02-24-2005 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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