Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Boot sectors/devices



 Ben Holland wrote: 
> You don't actually need to re-install grub and in fact i've done that before 
> and it didn't actually fix the problem. Grub does however have a command 
> that is basically a fixmbr in windows jargon, but I can't remember off the 
> top of my head what is was. Every time I've done that i've done it from the 
> grub shell. The thing you get into when you just type in "#> grub". 
> Basically man grub was my friend for a while. 

Assuming you have a device.map already configured, this should work: 

$ grub 
grub> root (hd0,0) 
grub> setup (hd0) 
grub> quit 
$ 

The 'root' line should have the drive/partition that either has or is your 
'boot' dir (to cover both the cases where you have a separate /boot 
partition and where you don't, it automatically looks in both /boot/grub and 
/grub on the specified device to find the stageXX images to install). 

HTH, 
Matt 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org