Hmmmm...here's a hack that might help (WARNING: Master Boot Record Surgery):
 
Go to the laptop that DOESN'T have these problems and "dd if=/dev/sda 
of=grub.mbr bs=512 count=61", then take that file and go over to a laptop that 
has an image but MBR problems, boot to a Live CD or something and "dd 
if=grub.mbr of=/dev/sda bs=512 count=61" and see whether that fixes it
 
What you're doing here is copying the raw data from the MBR and Stage 1.5 of 
GRUB of the hard disk that doesn't have problems to a file, then writing the 
contents of that file directly onto the first 61 512byte sectors of the hard 
disk that has the problems. This might destroy data on the hard disk that has 
problems and require it's re-partitioning, depending on your setup, but if it's 
not working then I'm assuming you don't have valuable, unique personal data on 
it.
 
(if you can't tell, I've had to wrestle with GRUB and the MBR before, myself)
 
Good Luck!

HTH,
 
Simón
 

________________________________

From: [EMAIL PROTECTED] on behalf of Jason McCoy
Sent: Tue 11/14/2006 1:25 PM
To: [email protected]
Subject: Re: [Sisuite-users] GRUB issues


The boxes I am trying to image are laptops...150 of them.  
They ony have 1 drive each.  
I tried the find command also and got 
Error 15: File not found
My device.map file only has (fd0) /dev/fd0

When installing the OS from an installation CD on IDENTICAL hardware I do not 
have any of these problems.  

This is very puzzling.

Jason


On 11/14/06, Simon Ruiz <[EMAIL PROTECTED]> wrote: 

        Is /dev/sda the only hard disk on this computer? Have you tried "find 
/boot/grub/menu.lst" to make sure your grub sees /dev/sda1 as (hd0,0)?
        
        Have you checked your /boot/grub/device.map? 
http://www.gnu.org/software/grub/manual/html_node/Device-map.html
        
        HTH,
        
        Simón
        
        ________________________________
        
        From: [EMAIL PROTECTED] on behalf of Jason McCoy
        Sent: Tue 11/14/2006 11:30 AM
        To: [email protected]
        Subject: Re: [Sisuite-users] GRUB issues
        
        
        I have tried that MANY times at this point.  Nothing grub related wants 
to work for me.  Also, as far as I know, it should be "root (hd0,0)" and then 
"setup (hd0)".  However, I have tried both ;-)  I get "Error 21: Selected disk 
does not exist" when I do  the grub commands.  However, as i stated in my 
previous post, I can mount /dev/sda1(which is grub's hd0,0) and look at the 
contents just fine. 
        For thos wondering, I generally do not install with one big partition, 
however, with the problems I have been facing I decided to simplify the 
installation to make it as managable as possible until I can figure out the 
problem. 
        
        
-------------------------------------------------------------------------
        SF.net email is sponsored by: A Better Job is Waiting for You - Find it 
Now.
        Check out Slashdot's new job board. Browse through tons of technical 
jobs 
        posted by companies looking to hire people just like you.
        http://jobs.slashdot.org/
        _______________________________________________
        Sisuite-users mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/sisuite-users
        



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to