This is the situation on my hard drive ...
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcab10bee
Device Boot Start End Blocks Id System
/dev/sda1 1 9025 72493281 7 HPFS/NTFS
/dev/sda3 9026 19457 83795040 5 Extended
/dev/sda5 * 9026 18934 79594011 83 Linux
/dev/sda6 18935 19457 4200966 82 Linux swap / Solaris
Used to be, this was a dual boot system, chainloaded from the NTFS logical partition. Recently, I got a new hard drive and installed Vista separately on it (with this drive unplugged). So now Vista works fine.
The trouble is, in this whole upgrade process, I managed to goof up the MBR on sda1. Now, I don't really care about that. I just want sda1 to stay a 72 gig ntfs data volume. Trouble is, I can't get grub (1 or 2, don't really care) onto sda5. This is Ubuntu 9.10.
I tried this ...
ubuntu@ubuntu:~$ sudo grub-install /dev/sda5
grub-probe: error: cannot find a device for /boot/grub.
No path or device is specified.
Try ``grub-probe --help'' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
Hmm? So I tried this to try and explain things ...
ubuntu@ubuntu:~$ sudo grub-probe --help
Usage: grub-probe [OPTION]... [PATH|DEVICE]
Probe device information for a given path (or device, if the -d option is given).
-d, --device given argument is a system device, not a path
-m, --device-map=FILE use FILE as the device map [default=/boot/grub/device.map]
-t, --target=(fs|fs_uuid|drive|device|partmap|abstractio n)
print filesystem module, GRUB drive, system device, partition map module or abstraction module [default=fs]
-h, --help display this message and exit
-V, --version print version information and exit
-v, --verbose print verbose messages
Report bugs to <bug-grub@gnu.org>.
Uh, well, it's definitely more information, just not anything useful to me. I'm hoping it will be to someone else reading this. All I want to do is have grub install on sda5 so that it boots. Then, I figure I'll plug in my Vista drive and figure out how to chainload Vista (on sdb?) from sda. I'm not nearly experienced enough in Linux, but trying to get the hang of it. I thought having the two OS's on different volumes might make things easier (planning on upgrading to Win7 someday).
Thanks ahead of time,
Alabamian
Bookmarks