Dysk /dev/sda: 200.0 GB, bajtów: 200049647616głowic: 255, sektorów/ścieżkę: 63, cylindrów: 24321, w sumie sektorów: 390721968Jednostka = sektorów, czyli 1 * 512 = 512 bajtówRozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512Identyfikator dysku: 0xb257f44fUrządzenie Rozruch Początek Koniec Bloków ID System/dev/sda1 * 2048 159385599 79691776 7 HPFS/NTFS/dev/sda2 159387646 285214719 62913537 5 Rozszerzona/dev/sda3 285214720 390719487 52752384 7 HPFS/NTFS/dev/sda5 159387648 211816447 26214400 83 Linux/dev/sda6 211818496 213915647 1048576 82 Linux swap / Solaris/dev/sda7 213917696 285214719 35648512 83 Linux
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 (,msdos5)/boot/grub.sda1: __________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows Vista Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exesda2: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 10.10 Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.imgsda6: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda7: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sda3: __________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: ============================ Drive/Partition Info: =============================Drive: sda _____________________________________________________________________Dysk /dev/sda: 200.0 GB, bajtów: 200049647616głowic: 255, sektorów/ścieżkę: 63, cylindrów: 24321, w sumie sektorów: 390721968Jednostka = sektorów, czyli 1 * 512 = 512 bajtówRozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512Partition Boot Start Sector End Sector # of Sectors Id System/dev/sda1 * 2,048 159,385,599 159,383,552 7 NTFS / exFAT / HPFS/dev/sda2 159,387,646 285,214,719 125,827,074 5 Extended/dev/sda5 159,387,648 211,816,447 52,428,800 83 Linux/dev/sda6 211,818,496 213,915,647 2,097,152 82 Linux swap / Solaris/dev/sda7 213,917,696 285,214,719 71,297,024 83 Linux/dev/sda3 285,214,720 390,719,487 105,504,768 7 NTFS / exFAT / HPFS"blkid" output: ________________________________________________________________Device UUID TYPE LABEL/dev/sda1 F01ACBA41ACB6666 ntfs /dev/sda3 2870BF9270BF656A ntfs /dev/sda5 c1301ccf-37a4-46cb-bcbd-73938ab405b0 ext4 /dev/sda6 0b7d4106-fb23-4830-b64e-a52be8485b54 swap /dev/sda7 888f20cb-3134-43c8-bf29-c60e53ea1214 ext4 ================================ Mount points: =================================Device Mount_Point Type Options/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)/dev/sda7 /home ext4 (rw,commit=0)=========================== sda5/boot/grub/grub.cfg: ===========================--------------------------------------------------------------------------------## DO NOT EDIT THIS FILE## It is automatically generated by 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 set have_grubenv=true load_envfiset 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=truefifunction 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}function load_video { insmod vbe insmod vga}insmod part_msdosinsmod ext2set root='(hd0,msdos5)'search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxtermfiterminal_output gfxterminsmod part_msdosinsmod ext2set root='(hd0,msdos5)'search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0set locale_dir=($root)/boot/grub/localeset lang=plinsmod gettextif [ "${recordfail}" = 1 ]; then set timeout=-1else set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset 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.35-30-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux /boot/vmlinuz-2.6.35-30-generic-pae root=UUID=c1301ccf-37a4-46cb-bcbd-73938ab405b0 ro quiet splash initrd /boot/initrd.img-2.6.35-30-generic-pae}menuentry 'Ubuntu, with Linux 2.6.35-30-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 echo 'Loading Linux 2.6.35-30-generic-pae ...' linux /boot/vmlinuz-2.6.35-30-generic-pae root=UUID=c1301ccf-37a4-46cb-bcbd-73938ab405b0 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-30-generic-pae}### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/20_linux_xen ###### END /etc/grub.d/20_linux_xen ###### BEGIN /etc/grub.d/20_memtest86+ ###menuentry "Memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux16 /boot/memtest86+.bin}menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux16 /boot/memtest86+.bin console=ttyS0,115200n8}### END /etc/grub.d/20_memtest86+ ###### BEGIN /etc/grub.d/30_os-prober ###menuentry "Windows Vista (loader) (on /dev/sda1)" { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set f01acba41acb6666 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 ###### BEGIN /etc/grub.d/41_custom ###if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg;fi### END /etc/grub.d/41_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).## proc /proc proc nodev,noexec,nosuid 0 0/dev/sda5 / ext4 errors=remount-ro 0 1/dev/sda7 /home ext4 defaults 0 2# swap was on /dev/sda6 during installationUUID=0b7d4106-fb23-4830-b64e-a52be8485b54 none swap sw 0 0--------------------------------------------------------------------------------=================== sda5: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 92.399406433 = 99.213107200 boot/grub/core.img 1 82.227790833 = 88.291418112 boot/grub/grub.cfg 1 82.692932129 = 88.790859776 boot/initrd.img-2.6.35-30-generic-pae 2 92.384086609 = 99.196657664 boot/vmlinuz-2.6.35-30-generic-pae 1 82.692932129 = 88.790859776 initrd.img 2 92.384086609 = 99.196657664 vmlinuz 1
## DO NOT EDIT THIS FILE## It is automatically generated by 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 set have_grubenv=true load_envfiset 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=truefifunction 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}function load_video { insmod vbe insmod vga}insmod part_msdosinsmod ext2set root='(hd0,msdos5)'search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxtermfiterminal_output gfxterminsmod part_msdosinsmod ext2set root='(hd0,msdos5)'search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0set locale_dir=($root)/boot/grub/localeset lang=plinsmod gettextif [ "${recordfail}" = 1 ]; then set timeout=-1else set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset 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.35-30-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux /boot/vmlinuz-2.6.35-30-generic-pae root=UUID=c1301ccf-37a4-46cb-bcbd-73938ab405b0 ro quiet splash initrd /boot/initrd.img-2.6.35-30-generic-pae}menuentry 'Ubuntu, with Linux 2.6.35-30-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 echo 'Loading Linux 2.6.35-30-generic-pae ...' linux /boot/vmlinuz-2.6.35-30-generic-pae root=UUID=c1301ccf-37a4-46cb-bcbd-73938ab405b0 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-30-generic-pae}### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/20_linux_xen ###### END /etc/grub.d/20_linux_xen ###### BEGIN /etc/grub.d/20_memtest86+ ###menuentry "Memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux16 /boot/memtest86+.bin}menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set c1301ccf-37a4-46cb-bcbd-73938ab405b0 linux16 /boot/memtest86+.bin console=ttyS0,115200n8}### END /etc/grub.d/20_memtest86+ ###### BEGIN /etc/grub.d/30_os-prober ###menuentry "Windows Vista (loader) (on /dev/sda1)" { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set f01acba41acb6666 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 ###### BEGIN /etc/grub.d/41_custom ###if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg;fi### END /etc/grub.d/41_custom ###
nazwa@nazwa:~$ ls -l /dev/disk/by-uuidrazem 0lrwxrwxrwx 1 root root 10 2011-09-07 11:08 0b7d4106-fb23-4830-b64e-a52be8485b54 -> ../../sda6lrwxrwxrwx 1 root root 10 2011-09-07 11:08 2870BF9270BF656A -> ../../sda3lrwxrwxrwx 1 root root 10 2011-09-07 11:08 888f20cb-3134-43c8-bf29-c60e53ea1214 -> ../../sda7lrwxrwxrwx 1 root root 10 2011-09-07 11:08 c1301ccf-37a4-46cb-bcbd-73938ab405b0 -> ../../sda5lrwxrwxrwx 1 root root 10 2011-09-07 11:08 F01ACBA41ACB6666 -> ../../sda1