I have the files loaded on pc. I manually mounted partition
the partition is not sda it is dm-6 and I cannot get grub installed.
Any ideas what is wrong ?
used
sudo apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
grub-legacy-doc mdadm
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc grub2-common
The following NEW packages will be installed:
grub
0 upgraded, 1 newly installed, 3 to remove and 233 not upgraded.
Need to get 865 kB of archives.
After this operation, 1,544 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/main grub amd64 0.97-29ubuntu64 [865 kB]
Fetched 865 kB in 1s (437 kB/s)
Preconfiguring packages ...
(Reading database ... 166483 files and directories currently installed.)
Removing grub-gfxpayload-lists ...
Removing grub-pc ...
Removing grub2-common ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Selecting previously deselected package grub.
(Reading database ... 166448 files and directories currently installed.)
Unpacking grub (from .../grub_0.97-29ubuntu64_amd64.deb) ...
Processing triggers for man-db ...
Setting up grub (0.97-29ubuntu64) ...
System still did not boot linux.
Tried this command:
sudo grub-install --root-directory=/mnt /dev/sdX
got error message
the partition is not sda it is dm-6 and I cannot get grub installed.
Any ideas what is wrong ?
used
sudo apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
grub-legacy-doc mdadm
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc grub2-common
The following NEW packages will be installed:
grub
0 upgraded, 1 newly installed, 3 to remove and 233 not upgraded.
Need to get 865 kB of archives.
After this operation, 1,544 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/main grub amd64 0.97-29ubuntu64 [865 kB]
Fetched 865 kB in 1s (437 kB/s)
Preconfiguring packages ...
(Reading database ... 166483 files and directories currently installed.)
Removing grub-gfxpayload-lists ...
Removing grub-pc ...
Removing grub2-common ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Selecting previously deselected package grub.
(Reading database ... 166448 files and directories currently installed.)
Unpacking grub (from .../grub_0.97-29ubuntu64_amd64.deb) ...
Processing triggers for man-db ...
Setting up grub (0.97-29ubuntu64) ...
System still did not boot linux.
Tried this command:
sudo grub-install --root-directory=/mnt /dev/sdX
got error message