OS = xp et debian
fdisk -l :
xelos:/home/xelos# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6ebb4a49
Device Boot Start End Blocks Id System
/dev/hda1 5636 5697 498015 82 Linux swap / Solaris
/dev/hda2 * 514 5635 41142465 7 HPFS/NTFS
/dev/hda3 5698 6937 9960300 83 Linux
/dev/hda4 6938 9729 22426740 83 Linux
Partition table entries are not in disk order
xelos:/home/xelos# blkid
/dev/hda1: TYPE=“swap”
/dev/hda2: UUID=“E2105DEC105DC865” LABEL=“HP_PAVILION” TYPE=“ntfs”
/dev/hda4: UUID=“cb17846e-1b79-4da7-b7cc-8c0fd9d67d34” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/hda3: UUID=“5ed5a689-69f3-4a35-8684-d5ef873c40c4” TYPE=“ext3”
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
set default=0
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
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
set timeout=5
END /etc/grub.d/00_header
BEGIN /etc/grub.d/05_debian_theme
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
END /etc/grub.d/05_debian_theme
BEGIN /etc/grub.d/10_linux
menuentry “Debian GNU/Linux, with Linux 2.6.30-1-686” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
linux /boot/vmlinuz-2.6.30-1-686 root=UUID=5ed5a689-69f3-4a35-8684-d5ef873c40c4 ro quiet
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry “Debian GNU/Linux, with Linux 2.6.30-1-686 (recovery mode)” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
linux /boot/vmlinuz-2.6.30-1-686 root=UUID=5ed5a689-69f3-4a35-8684-d5ef873c40c4 ro single
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry “Debian GNU/Linux, with Linux 2.6.26-2-686” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=5ed5a689-69f3-4a35-8684-d5ef873c40c4 ro quiet
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry “Debian GNU/Linux, with Linux 2.6.26-2-686 (recovery mode)” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 5ed5a689-69f3-4a35-8684-d5ef873c40c4
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=5ed5a689-69f3-4a35-8684-d5ef873c40c4 ro single
initrd /boot/initrd.img-2.6.26-2-686
}
END /etc/grub.d/10_linux
BEGIN /etc/grub.d/30_os-prober
menuentry “Windows NT/2000/XP (loader) (on /dev/hda2)” {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set e2105dec105dc865
drivemap -s (hd0) ${root}
chainloader +1
}