ubuntuusers.de

weiteres grub problem (error 1)

Status: Gelöst | Ubuntu-Version: Xubuntu 9.10 (Karmic Koala)
Antworten |

simonp

Anmeldungsdatum:
22. Oktober 2009

Beiträge: Zähle...

ich hatte heute früher schon ein grub problem und dachte es wäre alles in ordnung, aber dann ... 😀

Also ich habe auf meinem Lappie Xubuntu und Win 7.

Xubuntu lässt sich ohne probleme starten, aber wenn ich Win 7 starten möchte, kommt folgendes

Error 1: Filename must be either an absolute path or blocklist

ich denke da ist irgendwas in meiner menu.lst nicht ganz in ordnung, hier der, wie ich denke relevante auszug

default=0
timeout=15
title Xubuntu 9.10
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-16-generic root=/dev/sda1
initrd /boot/initrd.img-2.6.31-16-generic

title Windows 7 Professional 
rootnoverify (hd0,1)
makeactive
chainloader +1### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

Wer kann mir weiterhelfen? Immoment kann ich gar nicht Windows booten

Into_the_Pit Team-Icon

Ehemalige
Avatar von Into_the_Pit

Anmeldungsdatum:
25. Juni 2008

Beiträge: 9490

Wohnort: Bochum

Hi

Hast Du Dein Xubuntu neu installiert? Wenn ja, dann nutzt Du GRUB 2 und der benötigt keine menu.lst mehr, die Konfiguration geht komplett über die einzelnen Scripte in /etc/grub.d und der /etc/default/grub. Tippe mal bitte in Dein Terminal

sudo grub-mkconfig

und zeige die Ausgabe hier in einen Code-Block.

Gruß

simonp

(Themenstarter)

Anmeldungsdatum:
22. Oktober 2009

Beiträge: 19

ja also ich hab windows nach xubuntu installiert und dann habe ich irgendwie versucht wieder an grub zu kommen.

hier die ausgabe von dem befehl

Generating grub.cfg ...
#
# 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 ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
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
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-2.6.31-16-generic
Found initrd image: /boot/initrd.img-2.6.31-16-generic
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-16-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro splash  quiet splash
	initrd	/boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-16-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro single splash
	initrd	/boot/initrd.img-2.6.31-16-generic
}
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro splash  quiet splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro single splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
Found memtest86+ image: /boot/memtest86+.bin
menuentry "Memory test (memtest86+)" {
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
Found Windows 7 (loader) on /dev/sda2
menuentry "Windows 7 (loader) (on /dev/sda2)" {
	insmod ntfs
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 37fc4bcf1547b42d
	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 ###
done

simonp

(Themenstarter)

Anmeldungsdatum:
22. Oktober 2009

Beiträge: 19

doppelpost ist zwar nicht nett, aber ich will keinen neuen thread aufmachen...

mein problem ist immer noch nciht gelöst, wenn ich windows booten möchte, muss ich das über die super grub disk machen, aber das ist auch keine endlösung.

kann mir jemand weiterhelfen?

opiwan

Anmeldungsdatum:
9. März 2008

Beiträge: 565

Hi,

ok, dann poste bitte mal deine fdisk -l Ausgabe...

Gruß A.

simonp

(Themenstarter)

Anmeldungsdatum:
22. Oktober 2009

Beiträge: 19

also der gibt folgendes aus

Platte /dev/sda: 400.1 GByte, 400088457216 Byte
255 Köpfe, 63 Sektoren/Spuren, 48641 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x7878fc96

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1       17847   143355996   83  Linux
/dev/sda2   *       17848       22028    33583882+   7  HPFS/NTFS
/dev/sda3           22029       47524   204796620    7  HPFS/NTFS
/dev/sda4           47525       48641     8972302+   5  Erweiterte
/dev/sda5           47525       48641     8972271   82  Linux Swap / Solaris

auf sda1 ist xubuntu installiert und auf sda2 windows

gabi

Anmeldungsdatum:
3. Dezember 2006

Beiträge: 1996

Wohnort: NRW

http://sourceforge.net/projects/bootinfoscript/

sudo bash boot_info_script045.sh

simonp

(Themenstarter)

Anmeldungsdatum:
22. Oktober 2009

Beiträge: 19

hm ja hier ist die ausgabe, und was muss ich in meiner menu.lst jetzt genau verändern? die auflistung ist praktisch aber ich bin dennoch überfordert^^

============================= Boot Info Summary: ==============================

 => Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive 
    in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 9.10
    Boot files/dirs:   /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/core.img

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   

sda4: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:  

sda5: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Platte /dev/sda: 400.1 GByte, 400088457216 Byte
255 Köpfe, 63 Sektoren/Spuren, 48641 Zylinder, zusammen 781422768 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Disk identifier: 0x7878fc96

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63   286,712,054   286,711,992  83 Linux
/dev/sda2    *    286,712,055   353,879,819    67,167,765   7 HPFS/NTFS
/dev/sda3         353,879,820   763,473,059   409,593,240   7 HPFS/NTFS
/dev/sda4         763,473,060   781,417,664    17,944,605   5 Extended
/dev/sda5         763,473,123   781,417,664    17,944,542  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

sda1: UUID="e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd" TYPE="ext4" 
sda2: UUID="37FC4BCF1547B42D" TYPE="ntfs" 
sda3: UUID="5CA4F4C31CCFDD9D" TYPE="ntfs" 
sda5: UUID="f9c9bf91-7f62-4c00-bbbe-b205f5ecced3" TYPE="swap" 

=============================== "mount" output: ===============================

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda3 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)


=========================== sda1/boot/grub/menu.lst: ===========================

default=0
timeout=15
title Xubuntu 9.10
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-16-generic root=/dev/sda1
initrd /boot/initrd.img-2.6.31-16-generic

title Windows 7 Professional 
rootnoverify (hd0,1)
makeactive
chainloader +1### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false


=========================== sda1/boot/grub/grub.cfg: ===========================

#
# 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 ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
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
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-17-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro splash  quiet splash
	initrd	/boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-17-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro single splash
	initrd	/boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-16-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro splash  quiet splash
	initrd	/boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-16-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro single splash
	initrd	/boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro splash  quiet splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd ro single splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
	insmod ntfs
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 37fc4bcf1547b42d
	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 ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=e0dd26f4-9c8b-4efd-ad73-f6d4e798e4cd /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=f9c9bf91-7f62-4c00-bbbe-b205f5ecced3 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/sda3  /media/disk  ntfs  defaults,nls=utf8,umask=007,gid=46  0  0

=================== sda1: Location of files loaded by Grub: ===================


    .0GB: boot/grub/core.img
    .0GB: boot/grub/grub.cfg
    .0GB: boot/grub/menu.lst
    .0GB: boot/grub/stage2
    .0GB: boot/initrd.img-2.6.31-14-generic
    .0GB: boot/initrd.img-2.6.31-16-generic
    .0GB: boot/initrd.img-2.6.31-17-generic
    .0GB: boot/vmlinuz-2.6.31-14-generic
    .0GB: boot/vmlinuz-2.6.31-16-generic
    .0GB: boot/vmlinuz-2.6.31-17-generic
    .0GB: initrd.img
    .0GB: initrd.img.old
    .0GB: vmlinuz
    .0GB: vmlinuz.old

gabi

Anmeldungsdatum:
3. Dezember 2006

Beiträge: 1996

Wohnort: NRW

title Windows 7 Professional 
rootnoverify (hd0,1)
makeactive
chainloader +1### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

Ist es so besser?

title Windows 7 Professional 
rootnoverify (hd0,1)
makeactive
chainloader +1
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

simonp

(Themenstarter)

Anmeldungsdatum:
22. Oktober 2009

Beiträge: 19

oh mann, ja jetzt geht es. vielen dank. ich mein ich habe mir gedacht, dass es im grunde nichts kompliziertes ist, aber nur ein zeilenumbruch... das ist schon nicht schlecht 😀

Antworten |