Re: Probleme mit Grub /Dualboot
Am Tuesday 17 November 2009 09:43:33 schrieb Dirk Wernien:
> Am Dienstag, 17. November 2009 schrieb Gerhard Brandenburg:
> > die Platten sind aber alle fix eingebaut?
>
> Ja. Auf der 500er
>
> > wo liegt Grub dann wirklich physikalisch?
>
> Auf der 500er im MBR - das BIOS bootet diese Platte.
>
> > Ganz habe ich das leider nicht verstanden.
>
> Geht mir genauso.
>
> Poste bitte mal:
> fdisk -l
> und
> /boot/grub/menue.lst
siehe Anhang
> sowie
> /etc/fstab
kann ich dir aktuell nicht liefern, weil ich jetzt auf die Datei keinen
Zugriff habe.
Sinngemäß steht dort
/dev/sda2 /boot ext2 etcetcetc
worum es mich auch geht:
da grub für sich allein als Bootmanager lebensfähig ist, muss es möglich sein,
ohne dass eine SD-Karte eingelegt ist, zu booten und (zu diesem Zeitpunkt als
einziges gültiges Betriebssystem) win auszuwählen.
Da reduziert sich die Frage vorerst auf:
wie kann ich _nur_ grub auf /dev/sda2 installieren.
Die menu.lst nachher umschreiben soll kein Problem sein.
Zum Startzeitpunkt von grub ist ein Debian überhaupt nicht nötig, daher sind
initrd etc gar nicht nötig
>
> dann kommen wir der Sache evtl. auf die Spur.
>
> dirk
Gruß
Gerhard
grml@grml ~ % sudo fdisk -l
Disk /dev/sda: 4034 MB, 4034838528 bytes
255 heads, 63 sectors/track, 490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5fc734da
Device Boot Start End Blocks Id System
/dev/sda1 1 459 3686886 7 HPFS/NTFS
/dev/sda2 * 460 485 208845 83 Linux
Disk /dev/sdb: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x53233fc9
Device Boot Start End Blocks Id System
/dev/sdb1 1 980 7871818+ 7 HPFS/NTFS
Disk /dev/sdc: 1977 MB, 1977614336 bytes
64 heads, 63 sectors/track, 957 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Disk identifier: 0x000430db
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 454 915232+ 6 FAT16
/dev/sdc2 455 957 1014048 83 Linux
======================================================
grub/menu.lst
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,1)
kernel /vmlinuz-2.6.26-2-686 vga=791 root=/dev/sdc2 ro
initrd /initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,1)
kernel /vmlinuz-2.6.26-2-686 root=/dev/sdc2 ro single
initrd /initrd.img-2.6.26-2-686
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
Reply to: