Ubuntu-Austria Foren-Übersicht
Portal  •  Forum  •  Profil  •  Suchen   •  Registrieren  •  Einloggen, um private Nachrichten zu lesen  •  Login   

 feisty fawn startet nicht nach update

Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
Gast











BeitragVerfasst am: 03.05.2007, 12:33    feisty fawn startet nicht nach update Antworten mit ZitatNach oben

hallo,

ich hab gestern über den update-manager von version 6.10 auf 7.04 aktualisiert. das hat offensichtlich auch gut geklappt, bis zum neustart:
da bekam ich den "grub error 17". da ich dieses problem hier schon einmal gepostet hatte und dank eurer hilfe gelöst habe Very Happy wusste ich schon woran's liegt. in der grub menu.lst haben aus irgendeinem grund die einträge plötzlich auf die swap-, statt auf die linux-systempartition verwiesen. beim eintrag "root" stand (hd0,9) statt richtig (hd0,8. das hab ich ausgebessert, dann erschien zwar beim start der ubuntu-screen, aber nach kurzer zeit die fehlermeldung: "/bin/sh: can't access tty; job control turned off"
mein verdacht ist, dass es daran liegt, dass in der menu.lst der eintrag root=UUID...... ebenfalls auf die falsche partiton verweist. nur wenn's daran liegt, hab ich leider keine ahnung, wie ich diesen UUID-code ändern kann.
hab jetzt mal mit live cd gestartet, um die menu.lst posten zu können.

hier die menu.lst:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      8

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### 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=1306704c-a58c-474b-a91f-44ea1551071e ro
# kopt_2_6=root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,9)

## 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

## 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

## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro quiet splash
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro single
initrd      /boot/initrd.img-2.6.20-15-generic

title      Ubuntu, kernel 2.6.17-11-generic
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.17-11-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro quiet splash
initrd      /boot/initrd.img-2.6.17-11-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.17-11-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro single
initrd      /boot/initrd.img-2.6.17-11-generic

title      Ubuntu, kernel 2.6.17-10-generic
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.17-10-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro quiet splash
initrd      /boot/initrd.img-2.6.17-10-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.17-10-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro single
initrd      /boot/initrd.img-2.6.17-10-generic

title      Ubuntu, memtest86+
root      (hd0,8)
kernel      /boot/memtest86+.bin
quiet

### 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/sda2
title      Microsoft Windows XP Home Edition
root      (hd0,1)
savedefault
makeactive
chainloader   +1



hier fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               2       22003   176731065    f  W95 Ext'd (LBA)
/dev/sda2   *       22004       24321    18619335    7  HPFS/NTFS
/dev/sda5               2        3230    25936911    7  HPFS/NTFS
/dev/sda6            3231        6047    22627521    7  HPFS/NTFS
/dev/sda7            6048        7783    13944388+   7  HPFS/NTFS
/dev/sda8            7784       16711    71714128+   7  HPFS/NTFS
/dev/sda9   *       16712       19329    21029053+  83  Linux
/dev/sda10          19330       19445      931738+  82  Linux swap / Solaris
/dev/sda11          19446       22003    20547103+   b  W95 FAT32


ich brauche wieder einmal eure experten-unterstützung. vielen dank für eure hilfe!

lieben gruß
werner

p.s: hab auch schon versucht über die alternate-cd grub neu zu schreiben, aber das ist mir nicht gelungen.


Desktop: anderer

Version: 16.04

Hardware: Notebook

Architektur: 64Bit
Online    
Webbutterfly
Administrator



Geschlecht:
Alter: 68
Anmeldungsdatum: 24.06.2006
Beiträge: 6917
Wohnort: Wien 23


austria.gif

BeitragVerfasst am: 03.05.2007, 14:57    (Kein Titel) Antworten mit ZitatNach oben

Bitte etwas Geduld... werde mir das ansehen!
hab im Moment nur keine Zeit.

Marion


Desktop: Gnome-Shell 3.X

Version: 14.04 and 16.04

Hardware: Notebook

Architektur: 64Bit

_________________

European Open Source Center
www.webbutterfly.com

OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen    
Webbutterfly
Administrator



Geschlecht:
Alter: 68
Anmeldungsdatum: 24.06.2006
Beiträge: 6917
Wohnort: Wien 23


austria.gif

BeitragVerfasst am: 03.05.2007, 19:29    (Kein Titel) Antworten mit ZitatNach oben

Also...
Der Fehler liegt, klar in der menu.lst... doch nicht in den unteren Einträgen...
Da bei jedem Update, auch Kernel, diese neu geschrieben werden, nimmt das Installationsscript diese aus der menu.list, doch von einer anderen Stelle..
nämlich hier:
# kopt=root=UUID=1306704c-a58c-474b-a91f-44ea1551071e ro
# kopt_2_6=root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro

bei dir ist die zweite Zeile ausschlaggebend... dort steht nämlich eine Falsche UUID.

Gib mal im Terminal folgendes ein:
/bin/ls -lF /dev/disk/by-uuid/

dann bekommst du dir richtige UUID... schau genau welche Platte das ist.
Das sollte eine Andere sein, als die bei dir jetzt eingetragene.
Als Test solltest du die UUID hier ändern:
title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,8)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro quiet splash
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

Wenn es beim booten funktioniert solltes du die UUID auch in der Zeile eintragen:
# kopt_2_6=root=UUID=0f4b8f37-d4cb-4631-adb1-0f57db8e4d56 ro


Die Raute muss davor stehen bleiben! Dann passiert das auch bei einem Kernelupdate nicht mehr.

Marion


Desktop: Gnome-Shell 3.X

Version: 14.04 and 16.04

Hardware: Notebook

Architektur: 64Bit

_________________

European Open Source Center
www.webbutterfly.com

OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen    
Gast











BeitragVerfasst am: 03.05.2007, 21:59    (Kein Titel) Antworten mit ZitatNach oben

liebe marion,

schlicht und ergreifend: dankeschön Laughing das war's......hab die uuids geändert, jetzt passt alles wieder!
eine frage noch (auf die ich jetzt aber nicht wirklich eine antwort brauch, wenn du keine zeit hast): diese alten kernelversionen, die auch in grub angeführt sind-brauch ich die noch für was, oder kann ich die irgendwie löschen?

lg werner


Desktop: anderer

Version: 16.04

Hardware: Notebook

Architektur: 64Bit
Online    
Webbutterfly
Administrator



Geschlecht:
Alter: 68
Anmeldungsdatum: 24.06.2006
Beiträge: 6917
Wohnort: Wien 23


austria.gif

BeitragVerfasst am: 03.05.2007, 22:14    (Kein Titel) Antworten mit ZitatNach oben

Very Happy freut mich...
Nein, die brauchst du nicht mehr...
Nicht aus der menu.list löschen sondern mit dem Paketmanager... dann wird auch die menu.list neu geschrieben.
Hoffentlich mit den richtigen Einträgen Embarassed

Marion


Desktop: Gnome-Shell 3.X

Version: 14.04 and 16.04

Hardware: Notebook

Architektur: 64Bit

_________________

European Open Source Center
www.webbutterfly.com

OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen    
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Berechtigungen anzeigen


Forensicherheit

1008050261054 Angriffe abgewehrt

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
Alle Zeiten sind GMT + 2 Stunden



[ Page generation time: 0.0563s (PHP: 74% - SQL: 26%) | SQL queries: 46 | GZIP enabled | Debug off ]