PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Grub erkennt meine NTFS-Partion nicht!?



Elegua
23.03.03, 11:57
Hi!

Nun habe ich SuSE8.1 mit GRUB auf meinem System installiert.
Jedoch kommt leider die Fehlermeldung, wenn ich Win2000 starten will:
Unknown Parttions type, partitons type 0x7

Kennt GRUB keine NTFS Partitionen?

Ich habe auch schon Google gefragt und habe herausgefunden,
das wenn ich SuSE hochfahre und grub aufrufe und dann
root (hd0, <TAB> eingebe.

Grub zu meinen 3 NTFS-Partionen sagt, das er diese nicht erkennt (s.o.)
ResierFS von Linux erkennt er aber.

Wie kann ich denn nun Grub beibringen das das NTFS-Partitionen sind?
Auf der Suse-supportseite habe ich auch nichts gefunden, was mir weiterhilft.
Abgesehen davon das ich LILO wieder installieren kann,
was nun auch nicht mehr geht.

Für jeden Tip wäre ich dankbar.

Gruß,
Paddy.

Elegua
23.03.03, 12:11
Falls das hilft:
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type is reiserfs, partition type 0x83
Partition num: 3, Filesystem type unknown, partition type 0x82
Partition num: 4, Filesystem type unknown, partition type 0x7
Partition num: 5, Filesystem type unknown, partition type 0x7

grub> root (hd0,

und das:
pc2:~ # cat /etc/fstab
/dev/sda3 / reiserfs defaults 1 1
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=iso8859-15 0 0
/dev/sda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=iso8859-15 0 0
/dev/sda6 /windows/E ntfs ro,users,gid=users,umask=0002,nls=iso8859-15 0 0
/dev/sda4 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
192.168.0.1:/var/cache/fou4s /var/cache/fou4s nfs defaults 0 0
192.168.0.1:/var/cache/fou4s /var/cache/fou4s nfs defaults 0 0
pc2:~ #

und das:
pc2:~ # fdisk /dev/sda

The number of cylinders for this disk is set to 2231.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 574 4610623+ 7 HPFS/NTFS
/dev/sda2 575 1276 5638815 f Win95 Ext'd (LBA)
/dev/sda3 1277 2099 6610747+ 83 Linux
/dev/sda4 2100 2231 1060290 82 Linux swap
/dev/sda5 575 1148 4610623+ 7 HPFS/NTFS
/dev/sda6 1149 1276 1028128+ 7 HPFS/NTFS

Command (m for help):


Also, ich weiß nicht, warum GRUB da stehen bleibt....

:( :(

lennier
23.03.03, 12:12
hi,

Bisschen hektisch, was Du da schreibst.

Normalerweise muss in der Lilo.conf nur stehen, welche Partition er booten soll, sprich, die Partition, auf der der NTLoader installiert ist.

Beispiel. der NTLoader ist hinter Grub im MBR auf /dev/hda installiert.

other = /dev/hda
label = DOS

Ansonsten benötigen wir leider mehr infos von Dir, wie Du Deine Platte partitioniert hast und wo sich der NTLoader befindet.

Gruß

Christian.

Elegua
23.03.03, 12:21
Hi!
Nein, ich habe GRUB installiert, das macht ja SuSE8.1 jetzt voll automatisch..... :(

Vorher hatte ich LILO.
Nach der Anweisung von der Susesupport seite hatte ich auch einmal LILO ausprobiert,
jedoch wenn ich mit LILO neugebootet hatte, hatte ich WINDOWS ausgewählt.
WIn2000 liegt bei mir auf /dev/sda1.
Bloß dann kam nur eine Meldung:
Loading....
GRUB

Das wars.
Obwohl ich ja GRUB aus dem mbr rausgeschmissen hatte.
Und den Eintrag:
other = /dev/sda1
label = windows
hatte ich ja in LILO.
Das ging ja auch 1 Jahrlang.

Ich kann ja gerne wieder zu LILO zurückkehren.
Aber da kam halt nur obige Fehlermeldung.
Warte ich deinstalliere einfach mal grub und mach wieder LILo drauf.

Elegua
23.03.03, 12:23
Also:
Das sieht nun so aus:
pc2:~ # cat /etc/sysconfig/bootloader

# Does the BIOS support LBA access.
#
LILO_LBA="no"

# Did the user select 'activate'.
#
LILO_ACTIVATE="no"

# Did the user select 'linear'.
#
LILO_LINEAR="no"

# Type of bootloader in use.
# On i386 and compatibles "grub" and "lilo" are allowed.
# Other platforms can have their specific bootloaders.
# For making the change effect run bootloader configuration tool
# and configure newly selected bootloader.
#
LOADER_TYPE="lilo"

# Location of boot loader. Shall contain "mbr",
# "floppy", "boot" or "custom"
#
LOADER_LOCATION="custom"
pc2:~ #

Dann mache ich ein:
pc2:~ # mk_initrd
using "/dev/sda3" as root device (mounted on "/" as "reiserfs")

creating initrd "/boot/initrd" for kernel "/boot/vmlinuz" (2.4.19-4GB)
- insmod aic7xxx (lib/modules/2.4.19-4GB/kernel/drivers/scsi/aic7xxx/aic7xxx.o)
- insmod reiserfs (lib/modules/2.4.19-4GB/kernel/fs/reiserfs/reiserfs.o)
- splash picture (800x600)

creating initrd "/boot/initrd.shipped" for kernel "/boot/vmlinuz.shipped" (2.4.19-4GB)
- insmod aic7xxx (lib/modules/2.4.19-4GB/kernel/drivers/scsi/aic7xxx/aic7xxx.o)
- insmod reiserfs (lib/modules/2.4.19-4GB/kernel/fs/reiserfs/reiserfs.o)
- splash picture (800x600)

If you're using lilo as bootmanager, you may want to run 'lilo' now.

pc2:~ # lilo
Warning: LBA32 addressing assumed
Added linux *
Added failsafe
Added windows
pc2:~ #

Und :
pc2:~ # cat /etc/lilo.conf
# Modified by YaST2. Last modification on Sun Mar 23 12:27:54 2003


boot = /dev/sda
change-rules
reset
read-only
menu-scheme = Wb:kw:Wb:Wb
prompt
timeout = 80
message = /boot/message

image = /boot/vmlinuz
label = linux
root = /dev/sda3
vga = 788
initrd = /boot/initrd

image = /boot/vmlinuz.shipped
label = failsafe
root = /dev/sda3
vga = 788
initrd = /boot/initrd.shipped
append = "ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3"
optional

other = /dev/sda1
label = windows
pc2:~ #

Elegua
23.03.03, 12:28
Nun, habe ich den Rechner neugestartet.
Das Menü zeigte mir wie erwartet 3 Einträge:
Linux
filesafe
windows

an.

Linux kann ich booten.
Wenn ich aber windows auswähle wird der Bildschirm nur schwarz und es erscheint:
Loading windows
GRUB [Cursor blinkt]

Es ist bloß "etwas" merkwürdig das das Wort GRUB erscheint,
denn wie ich ja bereits erwähnt hatte benutze ich ja LILO!?

lennier
23.03.03, 13:11
Ups, Tschuldige bin da etwas durcheinander gekommen, weil meine Verbindung hakte und ich den ganzen Mist neu geschrieben habe.

Wenn Du lilo installieren möchtest, solltest Du Grub vorher rausschmeissen,
das geht bekanntlich mit einer DOS Diskette und fdisk /mbr. Denke daran, zuvor eine Bootdiskette für Linux gemacht zu haben.

Dann installiere bitte den NT - Bootloader neu, nur um sicherzugehen, dass
er wieder funktioniert. Der Bootloader ist Voraussetzung dafür, dass Lilo oder Grub
windows starten können.

Hierzu nimmst Du die W2K Bootcd, startest die Rettungskonsole und gibtst
fixmbr und fixboot nacheinander ein.

Wenn jetzt 2K wieder startet, kannst Du dich daran machen, lilo mit unten angegebener Konfiguration wieder in den MBR zu schreiben.


Gruß

Christian.

Elegua
23.03.03, 14:20
Das ging!

VIELEN DANK,
du hast meinen Sonntag gerettet!
:) :)

lennier
23.03.03, 15:12
Dann hat das ja trotz meiner Schusseligkeit geklappt. Hauptsache! :D