bvc Posted December 13, 2003 Report Share Posted December 13, 2003 trying to fix lawsonrc's BOOT. He has a legacy free laptop and /boot/grub/device.map doesn't exist. menu.lst does though. Mine says (fd0) /dev/fd0 (hd0) /dev/hda but is it different if you have a /boot partition? example? (fd0) /dev/fd0 (hd0) /dev/hda (hd0,1) /dev/hda1 I don't think so because the definition of these are DEVICE FILE but I need to know. Thanks! Quote Link to comment Share on other sites More sharing options...
bvc Posted December 13, 2003 Author Report Share Posted December 13, 2003 From info grub The map between BIOS drives and OS devices ========================================== When you specify the option `--device-map' (*note Basic usage::), the grub shell creates the "device map file" automatically unless it already exists. The file name `/boot/grub/device.map' is preferred. If the device map file exists, the grub shell reads it to map BIOS drives to OS devices. This file consists of lines like this: DEVICE FILE DEVICE is a drive, which syntax is the same as the one in GRUB (*note Device syntax::), and FILE is an OS's file, which is normally a device file. The reason why the grub shell gives you the device map file is that it cannot guess the map between BIOS drives and OS devices correctly in some environments. For example, if you exchange the boot sequence between IDE and SCSI in your BIOS, it mistakes the order. Thus, edit the file if the grub shell makes a mistake. You can put any comments in the file if needed, as the grub shell assumes that a line is just a comment if the first character is `#'. Installing GRUB using grub-install ================================== *Caution:* This procedure is definitely deprecated, because there are several posibilities that your computer can be unbootable. For example, most operating systems don't tell GRUB how to map BIOS drives to OS devices correctly, GRUB merely "guesses" the mapping. This will succeed in most cases, but not always. So GRUB provides you with a user-defined map file called "device map", which you must fix, if it is wrong. *Note Device map::, for more details. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 14, 2003 Author Report Share Posted December 14, 2003 WOW! mandrake=lilo eh? :huh: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.