Skip to main content

Thread: New triple boot install WinXP/10.04 and 12.04 - 2 MBR?


i reinstalled 12.04.1 on trible boot system , got "error no such device", "grub rescue" prompt.

found thread:
http://ubuntuforums.org/showthread.php?t=1014708
see happened, here:


code:
disk /dev/sda: 320.1 gb, 320072933376 bytes 240 heads, 63 sectors/track, 41345 cylinders, total 625142448 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x00058ed2     device boot      start         end      blocks   id  system /dev/sda1   *        2048   125835263    62916608    7  hpfs/ntfs/exfat /dev/sda2       125835264   461389823   167777280    7  hpfs/ntfs/exfat /dev/sda3       461389824   618676223    78643200   83  linux /dev/sda4       618676224   625141759     3232768   82  linux swap / solaris  disk /dev/sdb: 203.9 gb, 203928109056 bytes 255 heads, 63 sectors/track, 24792 cylinders, total 398297088 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x000e6065     device boot      start         end      blocks   id  system /dev/sdb1              63   188570969    94285453+   7  hpfs/ntfs/exfat /dev/sdb2       188570970   272462399    41945715    7  hpfs/ntfs/exfat /dev/sdb3   *   272462400   398297087    62917344   83  linux ubuntu@ubuntu:~$ sudo mkdir /media/sdb3  ubuntu@ubuntu:~$ sudo mount /dev/sdb3 /media/sdb3 ubuntu@ubuntu:~$ sudo grub-install --root-directory=media/sdb3 /dev/sdb3 /usr/sbin/grub-probe: error: cannot find device media/sdb3/boot/grub (is /dev mounted?).

when reinstalled new 12.04 "think" said sdb, not remembering "may" have used sda mbr... appears so.

anyway, ignore noobiness sort of stuck here , need off work - can please assist can system when return.

want grub2 boot 12.04.1 lts, winxp , 10.04lts had before.

also, did? 12.04.1 install defaulted sdb load bootloader on install - presumed "knew" was/should (but guess not?)

not have reinstall 120.4.01 over, if have to, delete (apparently wrong) boot loader on sdb?
if not, how do before re-installing?

thank (again!)!
mrk

two ways it.
code:
sudo grub-install --root-directory=/media/sdb3 /dev/sda
or
code:
sudo mkdir /mnt/ubuntu sudo mount /dev/sdb3 /mnt/ubuntu sudo mount --bind /dev /mnt/ubuntu/dev sudo mount --bind /sys /mnt/ubuntu/sys sudo mount --bind /proc/mnt/ubuntu/proc sudo chroot /mnt/ubuntu sudo grub-install /dev/sda


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] New triple boot install WinXP/10.04 and 12.04 - 2 MBR?


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues