View Single Post
  #4  
Old 12th July 2012, 12:14
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 149 Times in 130 Posts
Default

Yes I did, and I get:
Code:
#grun-install
install_device not specified
Usage: grub-install [OPTION] install_devide
Install GRUB on your drive.

...
...
...

#
I guess that it needs to be installed on /dev/sda1, but I need to be sure before I do so, as creating a new VM of the system takes about 4 hrs.

Also.
ON the Xenserver the Disk's are named different than on this VM.
I'm not sure if this will cause a problem?

This VM the are (see also 2nd post):
/dev/sda1 (set to boot)
/dev/sdb1

On the Xenserver they are:
/dev/xvda1 (set to boot)
/dev/xvdb1

Code:
host:~# fdisk -l

Disk /dev/xvdb: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x86a2ed46

    Device Boot      Start         End      Blocks   Id  System
/dev/xvdb1               1         130     1044193+  82  Linux swap / Solaris

Disk /dev/xvda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dc2c6

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *           1        5221    41937651   83  Linux
host:~#
So.... It's "grub-install" .... ????
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 12th July 2012 at 13:39.
Reply With Quote