Nainstaloval jsem vše pro začátek jednodušší verzí.
Po instalaci WinXP a Ubuntu 10.04 jsem z Grubu nabootoval
bez problémů do Ubuntu,vše proběhlo v pořádku včetně aktualizací.
Pak jsem Ubuntu spustil ještě několikrát, vše OK, načetl jsem aktuální
výsledky instalace do "boot_info_scriptu", který přikládám:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 5 for /boot/grub.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /NTLDR /NTDETECT.COM
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160,0 GB, 160 041 885 696 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 19 457, celkem 312 581 808 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 168,429,107 168,427,060 7 NTFS / exFAT / HPFS
/dev/sda2 168,429,566 312,580,095 144,150,530 5 Extended
/dev/sda5 168,429,568 306,616,319 138,186,752 83 Linux
/dev/sda6 306,618,368 312,580,095 5,961,728 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 1488165E88163EA4 ntfs
/dev/sda5 a7e6d717-29c8-461e-b5d9-53d2301a998f ext4
/dev/sda6 5e40323c-6774-46bc-8dc4-dcb29736a545 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro)
================================ sda1/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------
=========================== sda5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
set locale_dir=($root)/boot/grub/locale
set lang=cs
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=a7e6d717-29c8-461e-b5d9-53d2301a998f ro quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
echo 'Loading Linux 2.6.32-33-generic ...'
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=a7e6d717-29c8-461e-b5d9-53d2301a998f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-33-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a7e6d717-29c8-461e-b5d9-53d2301a998f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 1488165E88163EA4
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------
=============================== sda5/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=a7e6d717-29c8-461e-b5d9-53d2301a998f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=5e40323c-6774-46bc-8dc4-dcb29736a545 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
90.626914978 = 97.309908992 boot/grub/core.img 1
120.650840759 = 129.547853824 boot/grub/grub.cfg 1
90.634365082 = 97.317908480 boot/initrd.img-2.6.32-33-generic 1
90.670761108 = 97.356988416 boot/vmlinuz-2.6.32-33-generic 1
90.634365082 = 97.317908480 initrd.img 1
90.670761108 = 97.356988416 vmlinuz 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e 33 |.30,778.30,778.3|
00000010 30 2c 32 2c 31 0d 0a 30 34 2f 31 38 2f 32 30 30 |0,2,1..04/18/200|
00000020 36 2c 30 38 35 31 2c 37 37 38 2e 33 30 2c 37 37 |6,0851,778.30,77|
00000030 38 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e |8.30,778.30,778.|
00000040 33 30 2c 31 2c 30 0d 0a 30 34 2f 31 38 2f 32 30 |30,1,0..04/18/20|
00000050 30 36 2c 30 38 35 31 2c 37 37 38 2e 33 30 2c 37 |06,0851,778.30,7|
00000060 37 38 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 |78.30,778.30,778|
00000070 2e 33 30 2c 31 2c 30 0d 0a 30 34 2f 31 38 2f 32 |.30,1,0..04/18/2|
00000080 30 30 36 2c 30 38 35 31 2c 37 37 38 2e 33 30 2c |006,0851,778.30,|
00000090 37 37 38 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 |778.30,778.30,77|
000000a0 38 2e 33 30 2c 31 2c 30 0d 0a 30 34 2f 31 38 2f |8.30,1,0..04/18/|
000000b0 32 30 30 36 2c 30 38 35 31 2c 37 37 38 2e 33 30 |2006,0851,778.30|
000000c0 2c 37 37 38 2e 33 30 2c 37 37 38 2e 33 30 2c 37 |,778.30,778.30,7|
000000d0 37 38 2e 33 30 2c 31 2c 30 0d 0a 30 34 2f 31 38 |78.30,1,0..04/18|
000000e0 2f 32 30 30 36 2c 30 38 35 31 2c 37 37 38 2e 33 |/2006,0851,778.3|
000000f0 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e 33 30 2c |0,778.30,778.30,|
00000100 37 37 38 2e 33 30 2c 31 2c 30 0d 0a 30 34 2f 31 |778.30,1,0..04/1|
00000110 38 2f 32 30 30 36 2c 30 38 35 31 2c 37 37 38 2e |8/2006,0851,778.|
00000120 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e 33 30 |30,778.30,778.30|
00000130 2c 37 37 38 2e 33 30 2c 31 2c 31 0d 0a 30 34 2f |,778.30,1,1..04/|
00000140 31 38 2f 32 30 30 36 2c 30 38 35 31 2c 37 37 38 |18/2006,0851,778|
00000150 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e 33 |.30,778.30,778.3|
00000160 30 2c 37 37 38 2e 33 30 2c 31 2c 30 0d 0a 30 34 |0,778.30,1,0..04|
00000170 2f 31 38 2f 32 30 30 36 2c 30 38 35 31 2c 37 37 |/18/2006,0851,77|
00000180 38 2e 33 30 2c 37 37 38 2e 33 30 2c 37 37 38 2e |8.30,778.30,778.|
00000190 33 30 2c 37 37 38 2e 33 30 2c 31 2c 30 0d 0a 30 |30,778.30,1,0..0|
000001a0 34 2f 31 38 2f 32 30 30 36 2c 30 38 35 31 2c 37 |4/18/2006,0851,7|
000001b0 37 38 2e 34 30 2c 37 37 38 2e 34 30 2c 37 00 fe |78.40,778.40,7..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 90 3c 08 00 fe |............<...|
000001d0 ff ff 05 fe ff ff 10 91 3c 08 f2 fe 5a 00 00 00 |........<...Z...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Potom jsem spustil WinXP, také bez problémů, ve správě disků jsem se podíval
na partitiony,jak je vidí WinXP SP3.
WinXP viděl správně vlastní NTFS oddíl, pak neznámý oddíl 66GB (pozn. Linux ext4)
a druhý neznámý oddíl 2.84GB (pozn. Swap linux). WinXP rozeznal neznámé
zařízení (stejně jako při několika minulých instalacích) a to jsem začal mít zlé tušení,
že WinXP zlikviduje zavaděč i filesystem Linux oddílů, což se asi také stalo.
Takže při dalším bootu místo GRUbu naběhla jenom hláška :
"no module name found.Aborted.Press any key to exit" ...
Teď se ještě nabootuju přes LiveCD do Ubuntu a zkusím vygenerovat aktualizované výsledky "boot_info_scriptu".