Bug#538030: grub-install
Alexander Vlasov
Alexander.Vlasov at Sun.COM
Thu Jul 23 11:39:16 UTC 2009
sh -x run of grub-setup reveals invocation of grub-install with following
arguments:
/usr/bin/grub-mkimage --output=/boot/grub/core.img --prefix=/boot/grub ext2 sun
/usr/sbin/grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map
/dev/sda
verbose invocation of grub-setup shows:
# /usr/sbin/grub-setup -v --directory=/boot/grub
--device-map=/boot/grub/device.map /dev/sda
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: transformed OS device '/dev/sda' into GRUB device 'hd0'
grub-setup: info: prefix = /boot/grub
grub-setup: info: changing current directory to /dev
grub-setup: info: changing current directory to net
grub-setup: info: changing current directory to shm
grub-setup: info: changing current directory to pts
grub-setup: info: /dev/sda1 starts from 0
grub-setup: info: opening the device hd0
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: Partition 0 starts from 0
grub-setup: info: Guessed root device '/dev/sda1' and root_dev 'hd0,1' from dir
'/boot/grub'
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: root is 'hd0,1', dest is 'hd0', and dest_ofpath is 'hd0'
grub-setup: info: Opening root
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: Opening dest
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: setting the root device to `hd0,1'
grub-setup: info: will leave the core image on the filesystem
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: the size of hd0 is 488390625
grub-setup: info: first sector is <122405232,0,512>
grub-setup: info: saving <122405233,0,512>
grub-setup: info: saving <122405234,0,512>
grub-setup: info: saving <122405235,0,512>
grub-setup: info: saving <122405236,0,512>
grub-setup: info: saving <122405237,0,512>
grub-setup: info: saving <122405238,0,512>
grub-setup: info: saving <122405239,0,512>
grub-setup: info: saving <122405240,0,512>
grub-setup: info: saving <122405241,0,512>
grub-setup: info: saving <122405242,0,512>
grub-setup: info: saving <122405243,0,512>
grub-setup: info: saving <122405244,0,512>
grub-setup: info: saving <122405245,0,512>
grub-setup: info: saving <122405246,0,512>
grub-setup: info: saving <122405247,0,512>
grub-setup: info: saving <122405248,0,512>
grub-setup: info: saving <122405249,0,512>
grub-setup: info: saving <122405250,0,512>
grub-setup: info: saving <122405251,0,512>
grub-setup: info: saving <122405252,0,512>
grub-setup: info: saving <122405253,0,512>
grub-setup: info: saving <122405254,0,512>
grub-setup: info: saving <122405255,0,512>
grub-setup: info: saving <122405256,0,512>
grub-setup: info: saving <122405257,0,512>
grub-setup: info: saving <122405258,0,512>
grub-setup: info: saving <122405259,0,512>
grub-setup: info: saving <122405260,0,512>
grub-setup: info: saving <122405261,0,512>
grub-setup: info: saving <122405262,0,512>
grub-setup: info: saving <122405263,0,512>
grub-setup: info: saving <122405264,0,512>
grub-setup: info: saving <122405265,0,512>
grub-setup: info: saving <122405266,0,512>
grub-setup: info: saving <122405267,0,512>
grub-setup: info: saving <122405268,0,512>
grub-setup: info: saving <122405269,0,512>
grub-setup: info: saving <122405270,0,512>
grub-setup: info: saving <122405271,0,512>
grub-setup: info: saving <122405272,0,512>
grub-setup: info: saving <122405273,0,512>
grub-setup: info: saving <122405274,0,512>
grub-setup: info: saving <122405275,0,512>
grub-setup: info: saving <122405276,0,512>
grub-setup: info: saving <122405277,0,512>
grub-setup: info: saving <122405278,0,512>
grub-setup: info: saving <122405279,0,512>
grub-setup: info: saving <122405280,0,512>
grub-setup: info: saving <122405281,0,512>
grub-setup: info: saving <122405282,0,512>
grub-setup: info: saving <122405283,0,512>
grub-setup: info: saving <122405284,0,512>
grub-setup: info: saving <122405285,0,512>
grub-setup: info: saving <122405286,0,512>
grub-setup: info: saving <122405287,0,512>
grub-setup: info: saving <122405288,0,512>
grub-setup: info: saving <122405289,0,512>
grub-setup: info: saving <122405290,0,512>
grub-setup: info: saving <122405291,0,512>
grub-setup: info: saving <122405292,0,512>
grub-setup: info: saving <122405293,0,512>
grub-setup: info: saving <122405294,0,512>
grub-setup: info: saving <122405295,0,512>
grub-setup: info: saving <122405296,0,512>
grub-setup: info: saving <122405297,0,512>
grub-setup: info: saving <122405298,0,512>
grub-setup: info: saving <122405299,0,512>
grub-setup: info: saving <122405300,0,512>
grub-setup: info: saving <122405301,0,512>
grub-setup: info: saving <122405302,0,512>
grub-setup: info: saving <122405303,0,512>
grub-setup: info: saving <122405304,0,512>
grub-setup: info: saving <122405305,0,512>
grub-setup: info: saving <122405306,0,512>
grub-setup: info: saving <122405307,0,512>
grub-setup: info: saving <122405308,0,512>
grub-setup: info: saving <122405309,0,512>
grub-setup: info: saving <122405310,0,512>
grub-setup: info: saving <122405311,0,512>
grub-setup: info: saving <122405312,0,512>
grub-setup: info: saving <122405313,0,512>
grub-setup: info: saving <122405314,0,512>
grub-setup: info: saving <122405315,0,512>
grub-setup: info: saving <122405316,0,512>
grub-setup: info: saving <122405317,0,512>
grub-setup: info: saving <122405318,0,512>
grub-setup: info: saving <122405319,0,512>
grub-setup: info: saving <122405376,0,512>
grub-setup: info: saving <122405377,0,512>
grub-setup: info: saving <122405378,0,512>
grub-setup: info: saving <122405379,0,512>
grub-setup: info: saving <122405380,0,512>
grub-setup: info: saving <122405381,0,512>
grub-setup: info: saving <122405382,0,512>
grub-setup: info: saving <122405383,0,512>
grub-setup: info: saving <122405392,0,512>
grub-setup: info: saving <122405393,0,512>
grub-setup: info: saving <122405394,0,512>
grub-setup: info: saving <122405395,0,512>
grub-setup: info: saving <122405396,0,512>
grub-setup: info: saving <122405397,0,512>
grub-setup: info: saving <122405398,0,512>
grub-setup: info: saving <122405399,0,512>
grub-setup: info: saving <122405400,0,512>
grub-setup: info: saving <122405401,0,512>
grub-setup: info: saving <122405402,0,512>
grub-setup: info: saving <122405403,0,512>
grub-setup: info: saving <122405404,0,512>
grub-setup: info: saving <122405405,0,512>
grub-setup: info: saving <122405406,0,512>
grub-setup: info: saving <122405407,0,512>
grub-setup: info: saving <122405408,0,512>
grub-setup: info: saving <122405409,0,512>
grub-setup: info: saving <122405410,0,512>
grub-setup: info: saving <122405411,0,512>
grub-setup: info: saving <122405412,0,512>
grub-setup: info: saving <122405413,0,512>
grub-setup: info: saving <122405414,0,512>
grub-setup: info: saving <122405415,0,512>
grub-setup: info: saving <122405416,0,512>
grub-setup: info: saving <122405417,0,512>
grub-setup: info: saving <122405418,0,512>
grub-setup: info: saving <122405419,0,512>
grub-setup: info: saving <122405420,0,512>
grub-setup: info: saving <122405421,0,512>
grub-setup: info: saving <122405422,0,512>
grub-setup: info: saving <122405423,0,512>
grub-setup: info: saving <122405488,0,512>
grub-setup: info: saving <122405489,0,512>
grub-setup: info: saving <122405490,0,512>
grub-setup: info: saving <122405491,0,184>
grub-setup: info: boot device path hd0, prefix is /boot/grub, dest is hd0
grub-setup: info: opening the core image `/boot/grub/core.img'
grub-setup: info: writing 0x200 bytes
However the loader being loaded is still SILO, not grub.
More information about the Pkg-grub-devel
mailing list