[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian-installer versagt bei GrUB, wenn FS ungleich ext2|3



Am 27.08.07 03.30 schrieb Martin Steigerwald:
Am Montag 27 August 2007 schrieb Paul Puschmann:

Hallo Paul,

Dass man /boot nicht auf einer XFS-Partition betreiben kann ist ein
XFS-Problem. Ich arbeite meistens mit einer ext2-Partition für /boot.

Nein, es ist vor allem ein Gerücht, dass sich hartnäckig hält, aber dennoch nicht stimmt:

shambala:~> mount | grep sda
/dev/sda1 on / type xfs (rw,logbsize=256k,logbufs=8)
/dev/sda2 on /home type xfs (rw,logbsize=256k,logbufs=8)
/dev/sda6 on /mnt/suse type xfs (rw,logbsize=256k,logbufs=8)

shambala:~> ls /boot/grub/menu.lst /etc/lilo.conf
ls: /etc/lilo.conf: Datei oder Verzeichnis nicht gefunden
/boot/grub/menu.lst

Ich verwende seit über 3 Jahren die Kombination von GRUB und XFS. Das ging schon mit Debian Sarge.

Ich bin noch blutiger Linux-Anfänger: was ist eine XFS-Partition?
Ist ein XFS unter Linux sowas wie ein IFS bei OS/2?

grub-install stolpert gelegentlich drüber, die manuelle Installation via grub shell gelang jedoch bislang immer.

Aufruf von 'grub'install'? Hab' ich auch versucht, aber entweder
stolpere ich noch über unzureichende/falsche Aufrufparameter oder es
klappte hier doch auch nicht.

Ich fand dies hier in user.log:
Aug  5 19:21:48 ubuntu 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Aug  5 19:21:48 ubuntu grub-installer: info: Installing grub on '(hd0,4)'
Aug  5 19:21:48 ubuntu grub-installer: info: grub-install supports --no-floppy
Aug  5 19:21:48 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy (hd0,4)"
Aug  5 19:21:49 ubuntu grub-installer: Probing devices to guess BIOS drives. This may take a long time.
Aug 5 19:21:50 ubuntu grub-installer: Due to a bug in xfs_freeze, the following command might produce a segmentation Aug 5 19:21:50 ubuntu grub-installer: fault when /boot/grub is not in an XFS filesystem. This error is harmless and
Aug  5 19:21:50 ubuntu grub-installer: can be ignored.
Aug 5 19:21:50 ubuntu grub-installer: xfs_freeze: specified file ["/boot/grub"] is not on an XFS filesystem
Aug  5 19:21:51 ubuntu grub-installer:
Aug  5 19:21:51 ubuntu grub-installer:        [ Minimal BASH-like line editing is supported.   For
Aug  5 19:21:51 ubuntu grub-installer:          the   first   word,  TAB  lists  possible  command
Aug  5 19:21:51 ubuntu grub-installer:          completions.  Anywhere else TAB lists the possible
Aug  5 19:21:51 ubuntu grub-installer:          completions of a device/filename. ]
Aug  5 19:21:51 ubuntu grub-installer: grub> root (hd0,4)
Aug  5 19:21:51 ubuntu grub-installer: grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0,4)
Aug  5 19:21:51 ubuntu grub-installer:  Checking if "/grub/stage1" exists... yes
Aug  5 19:21:51 ubuntu grub-installer:  Checking if "/grub/stage2" exists... yes
Aug  5 19:21:51 ubuntu grub-installer:  Checking if "/grub/jfs_stage1_5" exists... yes
Aug 5 19:21:51 ubuntu grub-installer: Running "embed /grub/jfs_stage1_5 (hd0,4)"... 18 sectors are embedded.
Aug  5 19:21:51 ubuntu grub-installer: succeeded
Aug 5 19:21:51 ubuntu grub-installer: Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0,4) (hd0,4)1+18 p (hd0,4)/grub/stage2 /grub/menu.lst"... failed
Aug  5 19:21:51 ubuntu grub-installer:
Aug  5 19:21:51 ubuntu grub-installer: Error 6: Mismatched or corrupt version of stage1/stage2
Aug  5 19:21:51 ubuntu grub-installer: grub> quit
Aug  5 19:21:51 ubuntu grub-installer: error: Running 'grub-install --no-floppy "(hd0,4)"' failed.
Aug 5 20:04:45 ubuntu ubiquity: Aug 5 20:04:45 ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', '/usr/share/grub-installer/grub-installer', '/target'] exited with code 1
Aug  5 20:04:45 ubuntu ubiquity:
Aug  5 20:04:45 ubuntu python: Exception during installation:
Aug  5 20:04:45 ubuntu python: Traceback (most recent call last):
Aug  5 20:04:45 ubuntu python:   File "/usr/share/ubiquity/install.py", line 1594, in <module>
Aug  5 20:04:45 ubuntu python:     install.run()
Aug  5 20:04:45 ubuntu python:   File "/usr/share/ubiquity/install.py", line 391, in run
Aug  5 20:04:45 ubuntu python:     self.configure_bootloader()
Aug 5 20:04:45 ubuntu python: File "/usr/share/ubiquity/install.py", line 1307, in configure_bootloader
Aug  5 20:04:45 ubuntu python:     "GrubInstaller failed with code %d" %ret)
Aug  5 20:04:45 ubuntu python: InstallStepError: GrubInstaller failed with code 1
Aug  5 20:04:45 ubuntu python:
Aug  5 20:04:45 ubuntu ubiquity[31401]: debconffilter_done: Install (current: None)
Aug  5 20:04:45 ubuntu ubiquity[31401]: Exception in GTK frontend (invoking crash handler):
Aug  5 20:04:45 ubuntu ubiquity[31401]: Traceback (most recent call last):
Aug  5 20:04:45 ubuntu ubiquity[31401]:   File "/usr/lib/ubiquity/bin/ubiquity", line 202, in <module>
Aug  5 20:04:45 ubuntu ubiquity[31401]:     main()
Aug  5 20:04:45 ubuntu ubiquity[31401]:   File "/usr/lib/ubiquity/bin/ubiquity", line 199, in main
Aug  5 20:04:45 ubuntu ubiquity[31401]:     install()
Aug  5 20:04:45 ubuntu ubiquity[31401]:   File "/usr/lib/ubiquity/bin/ubiquity", line 65, in install
Aug  5 20:04:45 ubuntu ubiquity[31401]:     ret = wizard.run()
Aug 5 20:04:45 ubuntu ubiquity[31401]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk-ui.py", line 400, in run
Aug  5 20:04:45 ubuntu ubiquity[31401]:     self.process_step()
Aug 5 20:04:45 ubuntu ubiquity[31401]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk-ui.py", line 888, in process_step
Aug  5 20:04:45 ubuntu ubiquity[31401]:     self.progress_loop()
Aug 5 20:04:45 ubuntu ubiquity[31401]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk-ui.py", line 685, in progress_loop
Aug  5 20:04:45 ubuntu ubiquity[31401]:     (ret, realtb))
Aug  5 20:04:45 ubuntu ubiquity[31401]: RuntimeError: Install failed with exit code 1
Aug  5 20:04:45 ubuntu ubiquity[31401]: Traceback (most recent call last):
Aug  5 20:04:45 ubuntu ubiquity[31401]:   File "/usr/share/ubiquity/install.py", line 1594, in <module>
Aug  5 20:04:45 ubuntu ubiquity[31401]:     install.run()
Aug  5 20:04:45 ubuntu ubiquity[31401]:   File "/usr/share/ubiquity/install.py", line 391, in run
Aug  5 20:04:45 ubuntu ubiquity[31401]:     self.configure_bootloader()
Aug 5 20:04:45 ubuntu ubiquity[31401]: File "/usr/share/ubiquity/install.py", line 1307, in configure_bootloader
Aug  5 20:04:45 ubuntu ubiquity[31401]:     "GrubInstaller failed with code %d" % ret)
Aug  5 20:04:45 ubuntu ubiquity[31401]: InstallStepError: GrubInstaller failed with code 1
Aug  5 20:04:45 ubuntu ubiquity[31401]:
Aug  5 20:04:45 ubuntu last message repeated 2 times


Und ich scheine nun schon wieder das nächste Katastrophengebiet erreicht
zu haben :-(

Beim Versuch mein /home auf /dev/hda16 entweder während der Ubuntu
Desktop-CD Installation, oder per "sudo nautilus' von dort (Live-CD)
einzubinden, gibt es diese Fehlermeldung (syslog, bzw. Fehlerfenster):

Aug 26 21:54:47 ubuntu ubiquity: mount: wrong fs type, bad option, bad superblock on /dev/hda16,
Aug 26 21:54:47 ubuntu ubiquity:        missing codepage or helper program, or other error
Aug 26 21:54:47 ubuntu ubiquity:
Aug 26 21:54:47 ubuntu ubiquity:        In some cases useful info is found in syslog - try
Aug 26 21:54:47 ubuntu ubiquity:        dmesg | tail  or so
Aug 26 21:54:47 ubuntu ubiquity:
Aug 26 21:55:03 ubuntu ubiquity[9414]: debconffilter_done: PartmanCommit (current: None)
Aug 26 21:55:03 ubuntu ubiquity[9414]: switched to page stepPartAdvanced
Aug 26 21:55:04 ubuntu ubiquity[9414]: switched to page stepLocation
Aug 26 22:11:06 ubuntu -- MARK --

Anscheinend ist dies aber ziemlicher Unsinn, denn laut openSuSE 10.3
installer message liegt das wirkliche Problem wohl ganz wo anders:
der Kernel kann offenbar nur mit 15 Partitionen umgehen!?!

Nicht einmal mein altgedientes OS/2 hat diese unsinnige Einschränkung
und von einem Linux erwarte ich mitten in 2007 natürlich nicht weniger.

Heißt das nun, daß Linux nun für jeden tabu ist, der es ganz oder
teilweise auf Partitionen >= 16 installieren will?

Und Umpartitionieren/Verschieben meiner OS/2 Partitionen kommt natürlich
absolut nicht in Frage.



Reply to: