improve error handling in util/
PATCH 1/1 improve error handling in util/
This improves error handling notably in util/. For example, from:
$ ./grub-probe -t fs / grub-probe: error: cannot find a GRUB drive for /dev/sda1.
to:
$ ./grub-probe -t fs / error: cannot open `/dev/sda1' (Permission denied) grub-probe: error: cannot find a GRUB drive for /dev/sda1.
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)
2008-02-11 Robert Millan <[email protected]>
* util/biosdisk.c (grub_util_biosdisk_open, open_device) (grub_util_biosdisk_read, grub_util_biosdisk_write) (grub_util_biosdisk_get_grub_dev): When issuing grub_error() calls, include `strerror (errno)' information in the message string.
* util/misc.c (grub_util_error): Invoke grub_print_error() before printing the caller-provided string.
util/biosdisk.c renamed from grub2/util/biosdisk.c +12 -12
@@ -168,7 +168,7 @@ grub_util_biosdisk_open (const char *nam fd =open (map[drive],O_RDONLY );if (fd ==-1 ) -return grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s'" , map[drive]); +return grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s' (%s)" , map[drive],strerror (errno));if (fstat (fd, &st) <0 || !S_ISBLK (st.st_mode)) {
@@ -199,7 +199,7 @@ grub_util_biosdisk_open (const char *nam# warning "No special routine to get the size of a block device is implemented for your OS. This is not possibly fatal."#endif if (stat (map[drive], &st) <0 ) -return grub_error (GRUB_ERR_BAD_DEVICE ,"cannot stat `%s'" , map[drive]); +return grub_error (GRUB_ERR_BAD_DEVICE ,"cannot stat `%s' (%s)" , map[drive],strerror (errno)); disk->total_sectors = st.st_size >>GRUB_DISK_SECTOR_BITS ;
@@ -307,7 +307,7 @@ open_device (const grub_disk_t disk, gru fd =open (dev, flags);if (fd <0 ) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s'" , dev); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s' (%s)" , dev,strerror (errno));return -1 ; }
@@ -321,7 +321,7 @@ open_device (const grub_disk_t disk, gru fd =open (map[disk->id], flags);if (fd <0 ) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s'" , map[disk->id]); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s' (%s)" , map[disk->id],strerror (errno));return -1 ; }#endif /* ! __linux__ */
@@ -339,7 +339,7 @@ open_device (const grub_disk_t disk, gru offset = (loff_t ) sector <<GRUB_DISK_SECTOR_BITS ;if (_llseek (fd, offset >>32 , offset &0xffffffff , &result,SEEK_SET )) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot seek `%s'" , map[disk->id]); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot seek `%s' (%s)" , map[disk->id],strerror (errno));close (fd);return -1 ; }
@@ -350,7 +350,7 @@ open_device (const grub_disk_t disk, gruif (lseek (fd, offset,SEEK_SET ) != offset) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot seek `%s'" , map[disk->id]); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot seek `%s' (%s)" , map[disk->id],strerror (errno));close (fd);return -1 ; }
@@ -431,7 +431,7 @@ grub_util_biosdisk_read (grub_disk_t disparts. -jochen */ if (nread (fd, buf,GRUB_DISK_SECTOR_SIZE ) !=GRUB_DISK_SECTOR_SIZE ) { -grub_error (GRUB_ERR_READ_ERROR ,"cannot read `%s'" , map[disk->id]); +grub_error (GRUB_ERR_READ_ERROR ,"cannot read `%s' (%s)" , map[disk->id],strerror (errno));close (fd);return grub_errno; }
@@ -443,7 +443,7 @@ grub_util_biosdisk_read (grub_disk_t disif (nread (fd, buf, size <<GRUB_DISK_SECTOR_BITS ) != (ssize_t ) (size <<GRUB_DISK_SECTOR_BITS )) -grub_error (GRUB_ERR_READ_ERROR ,"cannot read from `%s'" , map[disk->id]); +grub_error (GRUB_ERR_READ_ERROR ,"cannot read from `%s' (%s)" , map[disk->id],strerror (errno));close (fd);return grub_errno;
@@ -461,7 +461,7 @@ grub_util_biosdisk_write (grub_disk_t diif (nwrite (fd, buf, size <<GRUB_DISK_SECTOR_BITS ) != (ssize_t ) (size <<GRUB_DISK_SECTOR_BITS )) -grub_error (GRUB_ERR_WRITE_ERROR ,"cannot write to `%s'" , map[disk->id]); +grub_error (GRUB_ERR_WRITE_ERROR ,"cannot write to `%s' (%s)" , map[disk->id],strerror (errno));close (fd);return grub_errno;
@@ -695,7 +695,7 @@ grub_util_biosdisk_get_grub_dev (const cif (stat (os_dev, &st) <0 ) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot stat `%s'" , os_dev); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot stat `%s' (%s)" , os_dev,strerror (errno));return 0 ; }
@@ -775,7 +775,7 @@ grub_util_biosdisk_get_grub_dev (const c fd =open (os_dev,O_RDONLY );if (fd ==-1 ) { -grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s'" , os_dev); +grub_error (GRUB_ERR_BAD_DEVICE ,"cannot open `%s' (%s)" , os_dev,strerror (errno));free (name);return 0 ; }
@@ -783,7 +783,7 @@ grub_util_biosdisk_get_grub_dev (const cif (ioctl (fd,HDIO_GETGEO , &hdg)) {grub_error (GRUB_ERR_BAD_DEVICE , -"cannot get geometry of `%s'" , os_dev); +"cannot get geometry of `%s' (%s)" , os_dev,strerror (errno));close (fd);free (name);return 0 ;
util/misc.c renamed from grub2/util/misc.c +2 -0
@@ -61,6 +61,8 @@ void grub_util_error (const char *fmt, ...) {va_list ap; + +grub_print_error ();fprintf (stderr,"%s: error: " , progname);va_start (ap, fmt);
Robert Millan:
Quoted 4 lines
This improves error handling notably in util/. For example, from:
$ ./grub-probe -t fs / grub-probe: error: cannot find a GRUB drive for /dev/sda1.
Sorry, still get the constant error message.
$ ./grub-probe -t partmap /boot error: unknown device grub-probe: error: unknown device
Also, had to make grub-probe specifically, this patch introduces a problem with grub-mkimage
$ make gcc -o grub-mkimage grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o -llzo2 grub_mkimage-util_misc.o: In function `grub_util_error': /home/janneke/vc/grub2/util/misc.c:65: undefined reference to `grub_print_error' collect2: ld returned 1 exit status make: *** [grub-mkimage] Fout 1
Greetings,
Jan.
Signature · 2 lines
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org
Quoted 11 lines · Jan Nieuwenhuizen
Robert Millan:
Quoted 4 lines
This improves error handling notably in util/. For example, from:
$ ./grub-probe -t fs / grub-probe: error: cannot find a GRUB drive for /dev/sda1.Sorry, still get the constant error message.
$ ./grub-probe -t partmap /boot error: unknown device grub-probe: error: unknown device
And with -vv ?
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)
Robert Millan:
Quoted 1 line
And with -vv ?
See attached.
Greetings,
Jan.
Signature · 2 lines
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org
grub-probe: info: changing current directory to /dev/mapper
grub-probe: info: opening lvmraid-lvm1
grub-probe: error: unknown devicekern/disk.c:220: Opening `hd0'...kern/disk.c:299: Opening hd0' failed. kern/disk.c:312: Closing hd0'.kern/disk.c:220: Opening `hd0'...kern/disk.c:299: Opening hd0' failed. kern/disk.c:312: Closing hd0'.kern/disk.c:220: Opening `hd1'...kern/disk.c:299: Opening hd1' failed. kern/disk.c:312: Closing hd1'.kern/disk.c:220: Opening `hd1'...kern/disk.c:299: Opening hd1' failed. kern/disk.c:312: Closing hd1'.kern/disk.c:220: Opening `hd2'...kern/disk.c:299: Opening hd2' failed. kern/disk.c:312: Closing hd2'.kern/disk.c:220: Opening `hd2'...kern/disk.c:299: Opening hd2' failed. kern/disk.c:312: Closing hd2'.disk/raid.c:359: Scanning for RAID devices kern/disk.c:220: Opening `hd0'...kern/disk.c:299: Opening hd0' failed. kern/disk.c:312: Closing hd0'.kern/disk.c:220: Opening `hd0'...kern/disk.c:299: Opening hd0' failed. kern/disk.c:312: Closing hd0'.disk/raid.c:359: Scanning for RAID devices kern/disk.c:220: Opening `hd1'...kern/disk.c:299: Opening hd1' failed. kern/disk.c:312: Closing hd1'.kern/disk.c:220: Opening `hd1'...kern/disk.c:299: Opening hd1' failed. kern/disk.c:312: Closing hd1'.disk/raid.c:359: Scanning for RAID devices kern/disk.c:220: Opening `hd2'...kern/disk.c:299: Opening hd2' failed. kern/disk.c:312: Closing hd2'.kern/disk.c:220: Opening `hd2'...kern/disk.c:299: Opening hd2' failed. kern/disk.c:312: Closing hd2'.kern/disk.c:220: Opening lvmraid-lvm1'... kern/disk.c:299: Opening lvmraid-lvm1' failed. kern/disk.c:312: Closing `lvmraid-lvm1'.
error: unknown device
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 625142448kern/disk.c:220: Opening `hd0'...kern/disk.c:364: Reading `hd0'...kern/disk.c:364: Reading `hd0'...kern/disk.c:364: Reading `hd0'...kern/disk.c:364: Reading `hd0'...kern/disk.c:312: Closing `hd0'.kern/disk.c:220: Opening `hd0'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd0'...kern/partition.c:114: gpt_partition_map detection failed. kern/partition.c:108: Detecting apple_partition_map... kern/disk.c:364: Reading `hd0'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504d kern/partition.c:114: apple_partition_map detection failed. kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 kern/partition.c:119: pc_partition_map detection succeeded. kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 kern/disk.c:220: Opening `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504d kern/disk.c:364: Reading `hd0,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:220: Opening `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504d kern/disk.c:364: Reading `hd0,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 kern/disk.c:312: Closing `hd0,1'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbde partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9 kern/disk.c:220: Opening `hd0,5'...kern/disk.c:364: Reading `hd0,5'...kern/disk.c:364: Reading `hd0,5'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504d kern/disk.c:364: Reading `hd0,5'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbde partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 kern/disk.c:364: Reading `hd0,5'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9 kern/disk.c:364: Reading `hd0,5'...kern/disk.c:364: Reading `hd0,5'...kern/disk.c:364: Reading `hd0,5'...kern/disk.c:364: Reading `hd0,5'...kern/disk.c:312: Closing `hd0,5'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214 partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0 partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0 kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213 kern/disk.c:220: Opening `hd0,6'...kern/disk.c:364: Reading `hd0,6'...kern/disk.c:364: Reading `hd0,6'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504d kern/disk.c:364: Reading `hd0,6'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4 partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbde partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 kern/disk.c:364: Reading `hd0,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9 partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214 partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0 partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0 kern/disk.c:364: Reading hd0,6'...grub-probe: info: opening the device /dev/sda'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd1 is 625142448
partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213kern/disk.c:364: Reading `hd0,6'...kern/disk.c:364: Reading `hd0,6'...kern/disk.c:364: Reading `hd0,6'...kern/disk.c:364: Reading `hd0,6'...kern/disk.c:312: Closing `hd0,6'.partmap/pc.c:141: partition 1: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0kern/disk.c:312: Closing `hd0'.kern/disk.c:220: Opening `hd1'...kern/disk.c:364: Reading `hd1'...kern/disk.c:364: Reading `hd1'...kern/disk.c:364: Reading `hd1'...kern/disk.c:364: Reading `hd1'...kern/disk.c:312: Closing `hd1'.kern/disk.c:220: Opening `hd1'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd1'...kern/partition.c:114: gpt_partition_map detection failed.kern/partition.c:108: Detecting apple_partition_map...kern/disk.c:364: Reading `hd1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/partition.c:114: apple_partition_map detection failed.kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/partition.c:119: pc_partition_map detection succeeded.kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/disk.c:220: Opening `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:220: Opening `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/disk.c:312: Closing `hd1,1'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9kern/disk.c:220: Opening `hd1,5'...kern/disk.c:364: Reading `hd1,5'...kern/disk.c:364: Reading `hd1,5'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,5'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1,5'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9kern/disk.c:364: Reading `hd1,5'...kern/disk.c:364: Reading `hd1,5'...kern/disk.c:364: Reading `hd1,5'...kern/disk.c:364: Reading `hd1,5'...kern/disk.c:312: Closing `hd1,5'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213kern/disk.c:220: Opening `hd1,6'...kern/disk.c:364: Reading `hd1,6'...kern/disk.c:364: Reading `hd1,6'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbde
partmgrub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'ap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213kern/disk.c:364: Reading `hd1,6'...kern/disk.c:364: Reading `hd1,6'...kern/disk.c:364: Reading `hd1,6'...kern/disk.c:364: Reading `hd1,6'...kern/disk.c:312: Closing `hd1,6'.partmap/pc.c:141: partition 1: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0kern/disk.c:312: Closing `hd1'.kern/disk.c:220: Opening `hd2'...kern/disk.c:364: Reading `hd2'...kern/disk.c:364: Reading `hd2'...kern/disk.c:364: Reading `hd2'...kern/disk.c:364: Reading `hd2'...kern/disk.c:312: Closing `hd2'.kern/disk.c:220: Opening `hd2'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd2'...kern/partition.c:114: gpt_partition_map detection failed.kern/partition.c:108: Detecting apple_partition_map...kern/disk.c:364: Reading `hd2'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/partition.c:114: apple_partition_map detection failed.kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896kern/partition.c:119: pc_partition_map detection succeeded.kern/disk.c:364: Reading `hd2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896kern/disk.c:220: Opening `hd2,1'...kern/disk.c:364: Reading `hd2,1'...kern/disk.c:364: Reading `hd2,1'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/disk.c:364: Reading `hd2,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896kern/disk.c:364: Reading `hd2,1'...kern/disk.c:364: Reading `hd2,1'...kern/disk.c:364: Reading `hd2,1'...kern/disk.c:364: Reading `hd2,1'...kern/disk.c:312: Closing `hd2,1'.partmap/pc.c:141: partition 1: flag 0x0, type 0x83, start 0x9897, len 0x3a37c799kern/disk.c:220: Opening `hd2,2'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:364: Reading `hd2,2'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/disk.c:364: Reading `hd2,2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896partmap/pc.c:141: partition 1: flag 0x0, type 0x83, start 0x9897, len 0x3a37c799kern/disk.c:364: Reading `hd2,2'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:220: Opening `hd2,2'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:364: Reading `hd2,2'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/disk.c:364: Reading `hd2,2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896partmap/pc.c:141: partition 1: flag 0x0, type 0x83, start 0x9897, len 0x3a37c799kern/disk.c:312: Closing `hd2,2'.partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:312: Closing `hd2'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `lvmplain-lvm0'...kern/disk.c:364: Reading `lvmplain-lvm0'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:312: Closing `lvmplain-lvm0'.kern/disk.c:220: Opening `lvmplain-lvm0'...kern/disk.c:312: Closing `lvmplain-lvm0'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `lvmraid-lvm2'...kern/disk.c:364: Reading `lvmraid-lvm2'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:312: Closing `lvmraid-lvm2'.
kern/disk.c:2grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: opening the device `/dev/sda1'
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: the size of hd0 is 625142448
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 625142448
20: Opening `lvmraid-lvm2'...kern/disk.c:312: Closing `lvmraid-lvm2'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `lvmraid-lvm1'...kern/disk.c:364: Reading `lvmraid-lvm1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:312: Closing `lvmraid-lvm1'.kern/disk.c:220: Opening `lvmraid-lvm1'...kern/disk.c:312: Closing `lvmraid-lvm1'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `lvmraid-lvm0'...kern/disk.c:364: Reading `lvmraid-lvm0'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:312: Closing `lvmraid-lvm0'.kern/disk.c:220: Opening `lvmraid-lvm0'...kern/disk.c:312: Closing `lvmraid-lvm0'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd0'...kern/disk.c:364: Reading `hd0'...kern/disk.c:312: Closing `hd0'.kern/disk.c:220: Opening `hd0'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd0'...kern/partition.c:114: gpt_partition_map detection failed.kern/partition.c:108: Detecting apple_partition_map...kern/disk.c:364: Reading `hd0'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/partition.c:114: apple_partition_map detection failed.kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/partition.c:119: pc_partition_map detection succeeded.kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd0,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/disk.c:364: Reading `hd0,1'...kern/disk.c:312: Closing `hd0,1'.disk/raid.c:517: Found array: md0kern/disk.c:220: Opening `hd0,1'...kern/disk.c:364: Reading `hd0,1'...kern/disk.c:364: Reading `hd0,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd0,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4disk/raid.c:543: Array is RAID level 1, but the size of disk 0 (0x2542eab0) doesn't match with size indicated by superblock (0x24ed0a00). Assuming superblock is wrong. partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd0,5'...kern/disk.c:364: Reading `hd0,5'...kern/disk.c:364: Reading `hd0,5'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd0,5'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd0,5'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9kern/disk.c:364: Reading `hd0,5'...kern/disk.c:312: Closing `hd0,5'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Reading `hd0'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd0,6'...kern/disk.c:364: Reading `hd0,6'...kern/disk.c:364: Reading `hd0,6'...partmap/apple.c:124: partition 0: bad magic (found 0x5256grub-probe: info: opening the device `/dev/sda'
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: opening the device `/dev/sdb1'
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: opening the device `/dev/sdb'
; wanted 0x504dkern/disk.c:364: Reading `hd0,6'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd0,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Reading `hd0,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213kern/disk.c:364: Reading `hd0,6'...kern/disk.c:312: Closing `hd0,6'.partmap/pc.c:141: partition 1: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0kern/disk.c:312: Closing `hd0'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd1'...kern/disk.c:364: Reading `hd1'...kern/disk.c:312: Closing `hd1'.kern/disk.c:220: Opening `hd1'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd1'...kern/partition.c:114: gpt_partition_map detection failed.kern/partition.c:108: Detecting apple_partition_map...kern/disk.c:364: Reading `hd1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/partition.c:114: apple_partition_map detection failed.kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/partition.c:119: pc_partition_map detection succeeded.kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4kern/disk.c:364: Reading `hd1,1'...kern/disk.c:312: Closing `hd1,1'.kern/disk.c:220: Opening `hd1,1'...kern/disk.c:364: Reading `hd1,1'...kern/disk.c:364: Reading `hd1,1'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd1,5'...kern/disk.c:364: Reading `hd1,5'...kern/disk.c:364: Reading `hd1,5'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,5'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1,5'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9kern/disk.c:364: Reading `hd1,5'...kern/disk.c:312: Closing `hd1,5'.partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Rgrub-probe: info: the size of hd1 is 625142448
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: opening the device `/dev/sdb'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc1'
grub-probe: info: opening the device `/dev/sdc1'
grub-probe: info: the size of hd2 is 976773168
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: opening the device `/dev/sdc2'
grub-probe: info: changing current directory to /dev/mapper
grub-probe: info: opening lvmraid-lvm1
grub-probe: info: No partition map found for lvmraid-lvm1
eading `hd1'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd1,6'...kern/disk.c:364: Reading `hd1,6'...kern/disk.c:364: Reading `hd1,6'...partmap/apple.c:124: partition 0: bad magic (found 0x5256; wanted 0x504dkern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x80, type 0xfd, start 0x3f, len 0x24ed0aa4partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x24ed0ae3, len 0x55cbdepartmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x83, start 0x24ed0ae4, len 0x1dc9c9partmap/pc.c:141: partition 1: flag 0x0, type 0x5, start 0x250ad4ad, len 0x380214partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x24ed0ae3, len 0x0kern/disk.c:364: Reading `hd1,6'...partmap/pc.c:141: partition 0: flag 0x0, type 0x82, start 0x250ad4ae, len 0x380213kern/disk.c:364: Reading `hd1,6'...kern/disk.c:312: Closing `hd1,6'.partmap/pc.c:141: partition 1: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x250ad4ad, len 0x0kern/disk.c:312: Closing `hd1'.disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd2'...kern/disk.c:364: Reading `hd2'...kern/disk.c:312: Closing `hd2'.kern/disk.c:220: Opening `hd2'...kern/partition.c:108: Detecting gpt_partition_map...kern/disk.c:364: Reading `hd2'...kern/partition.c:114: gpt_partition_map detection failed.kern/partition.c:108: Detecting apple_partition_map...kern/disk.c:364: Reading `hd2'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/partition.c:114: apple_partition_map detection failed.kern/partition.c:108: Detecting pc_partition_map...kern/disk.c:364: Reading `hd2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896kern/partition.c:119: pc_partition_map detection succeeded.kern/disk.c:364: Reading `hd2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd2,1'...kern/disk.c:364: Reading `hd2,1'...kern/disk.c:364: Reading `hd2,1'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/disk.c:364: Reading `hd2,1'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896kern/disk.c:364: Reading `hd2,1'...kern/disk.c:312: Closing `hd2,1'.partmap/pc.c:141: partition 1: flag 0x0, type 0x83, start 0x9897, len 0x3a37c799disk/raid.c:359: Scanning for RAID deviceskern/disk.c:220: Opening `hd2,2'...kern/disk.c:364: Reading `hd2,2'...kern/disk.c:364: Reading `hd2,2'...partmap/apple.c:124: partition 0: bad magic (found 0x0; wanted 0x504dkern/disk.c:364: Reading `hd2,2'...partmap/pc.c:141: partition 0: flag 0x80, type 0x83, start 0x1, len 0x9896partmap/pc.c:141: partition 1: flag 0x0, type 0x83, start 0x9897, len 0x3a37c799kern/disk.c:364: Reading `hd2,2'...kern/disk.c:312: Closing `hd2,2'.partmap/pc.c:141: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0partmap/pc.c:141: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0kern/disk.c:312: Closing `hd2'.kern/disk.c:220: Opening `lvmraid-lvm1'...
pckern/disk.c:312: Closing `lvmraid-lvm1'.