beim booten unter debian

Dieses Thema im Forum "Linux & BSD" wurde erstellt von Halloweenracer, 17. Juni 2006 .

Schlagworte:
  1. 17. Juni 2006
    huhu,

    hab debian (die testing...)

    hab folgendes prob (hab aber an sich nix verstellt...)

    beim booten komm das und dann gehts nich weiter...

    das erste mal, wo des prob war, da hatter dann gleich noch ne shell geladen und gesagt, dass /dev/hda8 (meine partition, wo ich debian installiert habe) nicht gemountet werden kann

    aber jetzt komm die shell nicht mehr und nur oben das im quote...

    was kann ich denn da machen?

    mfg
     
  2. 17. Juni 2006
    das passiert wenn in der fstab und der grub-config eine falsche rootpartition eingetragen ist. einfach mal ne livecd booten und gucken ob /etc/fstab und /boot/grub/menu.lst hinter kernel blaa -rootdir=/dev/hdax (o.ä.) korrekt sind.
     
  3. 18. Juni 2006
    huhu,

    also fstab, die is korrekt...

    aber wie find ich raus, ob mein dev/hda8 nun vllt doch nich meine root partition ist?

    danke schonmal

    mfg halloween
     
  4. 19. Juni 2006
    RE: biem booten unter debian

    huhu,

    also hda8 is mein root...

    nur ich habs noch nich hinbekommen

    hier sind mal meine zwei dateien...

    /etc/fstab

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc
    /dev/hda1 /media/hda1 ntfs ro,uid=1000,gid=1000 0 0
    /dev/hda5 /media/hda5 ntfs ro,uid=1000,gid=1000 0 0
    /dev/hda6 /media/vfat vfat ro,uid=1000,gid=1000 0 0
    /dev/hda7 /media/hda7 ntfs ro,uid=1000,gid=1000 0 0
    /dev/hda8 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda9 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /boot/grub/menu.lst

    Code:
    # 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 0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 5
    
    # 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 hier is mein md5 hash^^, hab ich natürlich rausgenommen.../
    # password topsecret
    
    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda8 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=/dev/hda8 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,7)
    
    ## 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=
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery mode) 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
    
    ## ## End Default Options ##
    
    title Debian GNU/Linux, kernel 2.6.15-1-486
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda8 ro 
    initrd /boot/initrd.img-2.6.15-1-486
    savedefault
    boot
    
    title Debian GNU/Linux, kernel 2.6.15-1-486 (recovery mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda8 ro single
    initrd /boot/initrd.img-2.6.15-1-486
    savedefault
    boot
    
    ### 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/hda1
    title Microsoft Windows XP Home Edition
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1
    vllt kann mir ja wer helfen
     
  5. 19. Juni 2006
    hm.. beide dateien sehen für mich so aus, wie sie sollen..

    generell noch ein tip, ich find für sowas http://nopaste.info/ sehr sinnvoll. da kannste dann texte wie z.B. deine config files reinstellen (obwohl man da vielleicht wirklich dann alle sensiblen daten entfernen kann+sollte)

    sorry.. aber ich kannte das von meiner debian installation nur so, daß er beim installieren sowohl fstab als auch menu.lst fehlerhaft anlegt (nach handkorrektur wars aber ok). nur bei dir sind ja beide dateien in ordnung...
     
  6. 19. Juni 2006
    huhu,

    thx an dich... den link hatte ich eben nich mehr und deswegen konnt ichs leider nich so schicken

    un weißt du, was ich da jetzt noch überprüfen könnte?

    thx schonmal
     
  7. 19. Juni 2006
    du könntest mal deine irc connection überprüfen... du bist nämlich nicht on und ich warte auf dich
     
  8. 20. Juni 2006
    wie soll ich mein debain mit ner live cd booten? somal das bei jedem systemstart sehr aufwändig wäre... und ich glaube, dass niemand die lust dazu hätte...

    @beatsix

    ich hab mal den fehler stehen lassen, bis ich dann automatisch zur shell geleitet wurde...

    nur steht das da...

    was isn da nu los? gibts unter linux au ne partitionstabelle in dem sinne? denn da würd ich denken, dass die beschädigt ist...

    denn /dev/hda8 ist 100%ig vorhanden...

    mfg
     
  9. 21. Juni 2006
    ha! da fällt mir was ein, was ich vergessen hab zu erwähnen

    wenn du ne knoppix o.ä. einwirfst. musst du deine alte platte mounten:

    Code:
    mount /dev/hda8
    cd /mnt/hda8
    cd etc
    vi fstab
    vi /mnt/hda8/boot/grub/menu.lst
    
    sonst guckst du ja in den files von knoppix nach
     
  10. 21. Juni 2006
    hms naja... ich hab doch aber, wo ich kanotix gebootet habe, auf der platte nachgeschaut, wo ich mein debian intslalliert habe...

    weißt wie? also das müsste schon so gepasst haben, denk ich mal...

    mfg
     
  11. 21. Juni 2006
    interessant wäre noch, was für ne CPU du hast und welchen kernel er da installiert hat, weil da gibts so einen schicken kernelbug:

    "2.6.15-17-k7 doesn't boot on Athlon 2000+"
     
  12. 21. Juni 2006
    ich hab nen intel p4 northwood... ich denk ma nich, dass der des prob ist oder?

    *langsam verzweifel...*

    ps: hab mal die 2 files jetzt direkt ins thread gepostet...
     
  13. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.