T61; Win XP und Debian / GRUB korrekt einstellen

newton

New member
Themenstarter
Registriert
21 Dez. 2011
Beiträge
12
Hallo,

ich habe mir bei Luxnote ein T61 gekauft. Feines Teil. Beim Einschalten wollte es Win XP von der HD installieren, bitte schön. Install-CD war keine dabei.
Danach die Debian 6 install-CD eingelegt, und ich meine, ich hätte beim Partitionieren alles richtig gemacht.... jedenfalls habe ich keine der vorhandenen Part. gelöscht, nur die eine verkleinert, um Platz für Squeeze zu schaffen.
GRUB in den MBR installiert.
Debian startet, aber die andere Auswahl führt direkt in die R&R Partition, nicht zu XP.
Hat jemand eine Idee, ob und wie ich das reparieren kann?

Grüße, Oliver
 
Hi,

sieht so aus, als ob Du XP entsorgt hast. Zeig mal bitte als Root:
Code:
fdisk -luc
 
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xab961837

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    31250062    15625000    7  HPFS/NTFS
/dev/sda2       226331280   234435599     4052160   12  Compaq diagnostics
/dev/sda3        31250430   148447231    58598401    5  Extended
/dev/sda5   *    31250432    70311935    19530752   83  Linux
/dev/sda6        70313984    70322175        4096   82  Linux swap / Solaris
/dev/sda7        70324224   148447231    39061504   83  Linux

Partition table entries are not in disk order
 
sda1 scheint die Windows-Partition zu sein. Mach mal
Code:
update-grub
zeig die Ausgabe davon und danach den kpl. Inhalt von /boot/grub/grub.cfg bitte.
 
root@ThinkPadT61:/home/administrator# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found Microsoft Windows XP Professional on /dev/sda1
Found Windows NT/2000/XP on /dev/sda2
done
 
### 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 load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ce908a9d-689f-4af7-821b-9a10b875c6c0
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ce908a9d-689f-4af7-821b-9a10b875c6c0
set locale_dir=($root)/boot/grub/locale
set lang=de
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ce908a9d-689f-4af7-821b-9a10b875c6c0
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/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.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ce908a9d-689f-4af7-821b-9a10b875c6c0
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=ce908a9d-689f-4af7-821b-9a10b875c6c0 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ce908a9d-689f-4af7-821b-9a10b875c6c0
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=ce908a9d-689f-4af7-821b-9a10b875c6c0 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 6290627490624e9b
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda2)" {
insmod part_msdos
insmod fat
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set e096-f3bb
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
 
Hallo linrunner,

JETZT GEHT'S!

Supervielen Dank. Ich will eigentlichmit dem Win gar nix machen (müssen), aber da es halt dabei war....

Dankeschön für die prompte Hilfe. Grüße, Oliver
 
Der Eintrag ist da und korrekt:
Code:
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 6290627490624e9b
drivemap -s (hd0) ${root}
chainloader +1
}
Verzeih die blöde Frage, aber hast Du wirklich diesen gestartet? EDITH: zu spät :D
 
  • ok1.de
  • IT Refresh - IT Teile & mehr
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben