I believe that when I upgrade grub I am supposed to re-run it.

I would like to keep the same configuration I have know but am not
sure if I installed grub in the MBR (I dual boot windows since it is
often needed when calling Dell Support).

I believe that I do have grub in the mbr, but wish to confirm it so
executed an od to confirm.

Here is my disk layout (a one disk laptop)

ajglap ~ # fdisk -l

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x08000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           6       48163+  de  Dell Utility
/dev/sda2   *           7        1963    15716352    7  HPFS/NTFS
/dev/sda3            1963        1975       98683+  83  Linux
/dev/sda4            1976       12161    81819045    5  Extended
/dev/sda5            1976        2098      987966   82  Linux swap / Solaris
/dev/sda6            2099        4531    19543041   83  Linux
/dev/sda7            4532        5991    11727418+  83  Linux
/dev/sda8            5992        8424    19543041   83  Linux
/dev/sda9            8425       10857    19543041   83  Linux
ajglap ~ # 

Here is an od of the mbr

ajglap ~ # dd if=/dev/sda ibs=512 count=1 | od -c --address-radix=d
1+0 records in
1+0 records out
0000000 353   H 220 320 274  \0   | 216 300 216 330 276  \0   | 277  \0
0000016 006 271  \0 002 374 363 244   P   h 034 006 313 373 271 004  \0
0000032 275 276  \a 200   ~  \0  \0   |  \v 017 205 020 001 203 305 020
0000048 342 361 315 030 210   V  \0   U 306   F 021 005 306   F 003 002
512 bytes (512 B) copied, 1.8159e-05 s, 28.2 MB/s
0000064 377  \0  \0     001  \0  \0  \0  \0 002 372 220 220 366 302 200
0000080   u 002 262 200 352   Y   |  \0  \0   1 300 216 330 216 320 274
0000096  \0     373 240   @   |   < 377   t 002 210 302   R 276 177   }
0000112 350   4 001 366 302 200   t   T 264   A 273 252   U 315 023   Z
0000128   R   r   I 201 373   U 252   u   C 240   A   | 204 300   u 005
0000144 203 341 001   t   7   f 213   L 020 276 005   | 306   D 377 001
0000160   f 213 036   D   | 307 004 020  \0 307   D 002 001  \0   f 211
0000176   \  \b 307   D 006  \0   p   f   1 300 211   D 004   f 211   D
0000192  \f 264   B 315 023   r 005 273  \0   p 353   } 264  \b 315 023
0000208   s  \n 366 302 200 017 204 352  \0 351 215  \0 276 005   | 306
0000224   D 377  \0   f   1 300 210 360   @   f 211   D 004   1 322 210
0000240 312 301 342 002 210 350 210 364   @ 211   D  \b   1 300 210 320
0000256 300 350 002   f 211 004   f 241   D   |   f   1 322   f 367   4
0000272 210   T  \n   f   1 322   f 367   t 004 210   T  \v 211   D  \f
0000288   ;   D  \b   }   < 212   T  \r 300 342 006 212   L  \n 376 301
0000304  \b 321 212   l  \f   Z 212   t  \v 273  \0   p 216 303   1 333
0000320 270 001 002 315 023   r   * 214 303 216 006   H   |   ` 036 271
0000336  \0 001 216 333   1 366   1 377 374 363 245 037   a 377   &   B
0000352   | 276 205   } 350   @  \0 353 016 276 212   } 350   8  \0 353
0000368 006 276 224   } 350   0  \0 276 231   } 350   *  \0 353 376   G
0000384   R   U   B      \0   G   e   o   m  \0   H   a   r   d       D
0000400   i   s   k  \0   R   e   a   d  \0       E   r   r   o   r  \0
0000416 273 001  \0 264 016 315 020 254   <  \0   u 364 303  \0  \0  \0
0000432  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \b  \0  \0  \0 001
0000448 001  \0 336 376   ? 005   ?  \0  \0  \0   G   x 001  \0 200 036
0000464 031 006  \a 376 377 377  \0 200 001  \0  \0 240 337 001  \0 376
0000480 377 377 203 376 377 377  \0     341 001 367 002 003  \0  \0 376
0000496 377 377 005 376 377 377 367   " 344 001   J 353 300  \t   U 252
0000512

Am I right that seeing `GRUB' in bytes 383-386 (decimal) is proof that
I did install grub in the MBR?

thanks,
allan

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to