Skocz do zawartości

piter77

Użytkownicy
  • Zawartość

    11
  • Rejestracja

  • Ostatnio

Reputacja

0 Normalna

1 obserwujący

O piter77

  • Ranga
    Nowy użytkownik
  1. Dedyk na Hetznerze- problem z GRUB-em

    nie próbowałem. Poza tym nie mam pliku grub.cfg
  2. Dedyk na Hetznerze- problem z GRUB-em

    zawartością katalogu głównego na drugiej partycji (czyt. to co jest w /mnt) są wszystkie pliki, które były wewnątrz boot, wraz z katalogiem grub wpisałem na sztywno ale dupa, error 15 spróbuję jeszcze wyedytować mnt/grub/menu.lst - na md1 oczywiście i wpisać UUID z blkid dla /md2 (poprzednio miałem dla md1) to niestety nic nie daje. na /dev/md1 jest zawartość /boot czyli w głównym katalogu wszystkie pliki z boota oraz jeden katalog grub, wewnątrz którego jest m.in. menu.lst, które odnosi się do UUID dev/md2 pobranego z blkid Reset i GRUB error 15....
  3. Dedyk na Hetznerze- problem z GRUB-em

    miałem podmontowany /dev/md2 - z niego zawartość boota przerzuciłem do /tmp/mc-root/boot następnie odmontowałem /dev/md2 i podmontowałem /dev/md1 jako /mnt z /tmp/mc-root/boot przerzuciłem całą zawartość na /mnt
  4. Dedyk na Hetznerze- problem z GRUB-em

    niestety, wciąż GRUB Error 15
  5. Dedyk na Hetznerze- problem z GRUB-em

    a co z menu.lst ? Zostawić takie, jakie jest czy zrobić wcześniej update-grub ? ( tyle, że po update-grub, w menu.lst są zupełnie inne identyfikatory UUID, których blkid nie pokazuje )
  6. Dedyk na Hetznerze- problem z GRUB-em

    zrobiłem blkid /dev/loop0: UUID="071aa350-e8cf-40da-bb59-5287003a0451" TYPE="ext2" /dev/md0: UUID="249a956d-0974-432a-9233-152989362890" TYPE="swap" /dev/sdb1: UUID="e99a4c88-df05-ce41-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sdb2: UUID="c3d8b3f9-d894-7bda-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sdb3: UUID="eaf7dede-acea-c6dd-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sda1: UUID="e99a4c88-df05-ce41-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sda2: UUID="c3d8b3f9-d894-7bda-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sda3: UUID="eaf7dede-acea-c6dd-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/md1: UUID="f6eaee46-ac74-4544-bc14-d449db6cbeda" SEC_TYPE="ext2" TYPE="ext3" /dev/md2: UUID="1c7ef74e-6fa7-43d8-bde2-3b009becc583" TYPE="ext3" i wpisałem UUID dla /dev/md1 w menu.lst title Debian GNU/Linux, kernel 2.6.26-2-amd64 root (hd0,1) kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=f6eaee46-ac74-4544-bc14-d449db6cbeda ro initrd /boot/initrd.img-2.6.26-2-amd64 title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode) root (hd0,1) kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=f6eaee46-ac74-4544-bc14-d449db6cbeda ro single initrd /boot/initrd.img-2.6.26-2-amd64 ale to nic nie dało mam jeszcze jeden plik z konfiguracją instalacji installimage.conf: DRIVE1 /dev/sda DRIVE2 /dev/sdb SWRAID 1 SWRAIDLEVEL 1 BOOTLOADER grub HOSTNAME static.150..*******.clients.your-server.de SYSCPLOGIN Admin SYSCPPASSWORD ***** SYSCPLANG de PART swap swap 4G PART /boot ext3 2G PART / ext3 all IMAGE /root/.oldroot/nfs/install/../images/Debian-50-lenny-64-SysCP.tar.gz w Rescure odmontowałem /dev/md2 i podmontowałem /dev/md1 ale tam kompletnie nic nie ma żadnego katalogu
  7. Dedyk na Hetznerze- problem z GRUB-em

    innych partycji tam raczej nie było, tak mi się wydaje... root@rescue /mnt # cat /mnt/etc/fstab proc /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/md0 none swap sw 0 0 /dev/md1 /boot ext3 defaults 0 0 /dev/md2 / ext3 defaults 0 0
  8. Dedyk na Hetznerze- problem z GRUB-em

    spisałem blkid ale bez żadnych rezultatów - nic się nie wyświetla sorki, byłem w chroot mam coś takigo: /dev/loop0: UUID="071aa350-e8cf-40da-bb59-5287003a0451" TYPE="ext2" /dev/md0: UUID="249a956d-0974-432a-9233-152989362890" TYPE="swap" /dev/sda1: UUID="e99a4c88-df05-ce41-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sda2: UUID="c3d8b3f9-d894-7bda-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sda3: UUID="eaf7dede-acea-c6dd-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sdb1: UUID="e99a4c88-df05-ce41-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sdb2: UUID="c3d8b3f9-d894-7bda-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/sdb3: UUID="eaf7dede-acea-c6dd-776c-2c25004bd7b2" TYPE="linux_raid_member" /dev/md1: UUID="f6eaee46-ac74-4544-bc14-d449db6cbeda" TYPE="ext3" /dev/md2: UUID="1c7ef74e-6fa7-43d8-bde2-3b009becc583" TYPE="ext3" zmieniłem w menu.lst na: kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=1c7ef74e-6fa7-43d8-bde2-3b009becc583 ro czyli przypisałem /dev/md2 ale po restarcie to samo - error 15
  9. Dedyk na Hetznerze- problem z GRUB-em

    sam katalog boot nie były usunięty ale był wyczyszczony - nie miał nawet w sobie podkatalogu grub - całkiem pusty to jest z pewnością zawartość boot na moim serwerze - nie na Rescure, dałem: root@rescue /mnt # ls -la /mnt/boot total 19M drwxr-xr-x 3 root root 4.0K Aug 28 10:36 . drwxr-xr-x 33 root root 4.0K Aug 27 10:13 .. -rw-r--r-- 1 root root 512 Aug 31 2007 boot.0800 -rw-r--r-- 1 root root 302K Feb 18 2009 coffee.bmp -rw-r--r-- 1 root root 84K Jan 13 2010 config-2.6.26-2-amd64 lrwxrwxrwx 1 root root 15 Aug 27 09:43 debian.bmp -> /boot/sarge.bmp -rw-r--r-- 1 root root 151K Feb 18 2009 debianlilo.bmp drwxr-xr-x 2 root root 4.0K Aug 28 12:23 grub -rw-r--r-- 1 root root 7.5M Dec 31 2009 initrd.img-2.6.26-2-amd64 -rw-r--r-- 1 root root 7.5M Nov 9 2009 initrd.img-2.6.26-2-amd64.bak -rw------- 1 root root 92K Jan 12 2009 map -rw-r--r-- 1 root root 24K Feb 18 2009 sarge.bmp -rw-r--r-- 1 root root 24K Feb 18 2009 sid.bmp -rw-r--r-- 1 root root 1.2M Jan 13 2010 System.map-2.6.26-2-amd64 -rw-r--r-- 1 root root 1.7M Jan 13 2010 vmlinuz-2.6.26-2-amd64
  10. Dedyk na Hetznerze- problem z GRUB-em

    /boot/grub/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-legacy-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 $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=3697ad22-8b53-4f20-bfc3-93f820e30614 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,1) ## 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= ## 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=(single-user) single # altoptions=(single-user 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 ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.26-2-amd64 root (hd0,1) kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=3697ad22-8b53-4f20-bfc3-93f820e30614 ro initrd /boot/initrd.img-2.6.26-2-amd64 title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode) root (hd0,1) kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=3697ad22-8b53-4f20-bfc3-93f820e30614 ro single initrd /boot/initrd.img-2.6.26-2-amd64 ### END DEBIAN AUTOMAGIC KERNELS LIST zawartość /boot: -rw-r--r-- 1 root root 512 Aug 31 2007 boot.0800 -rw-r--r-- 1 root root 302K Feb 18 2009 coffee.bmp -rw-r--r-- 1 root root 84K Jan 13 2010 config-2.6.26-2-amd64 lrwxrwxrwx 1 root root 15 Aug 27 09:43 debian.bmp -> /boot/sarge.bmp -rw-r--r-- 1 root root 151K Feb 18 2009 debianlilo.bmp drwxr-xr-x 2 root root 4.0K Aug 28 12:23 grub -rw-r--r-- 1 root root 7.5M Dec 31 2009 initrd.img-2.6.26-2-amd64 -rw-r--r-- 1 root root 7.5M Nov 9 2009 initrd.img-2.6.26-2-amd64.bak -rw------- 1 root root 92K Jan 12 2009 map -rw-r--r-- 1 root root 24K Feb 18 2009 sarge.bmp -rw-r--r-- 1 root root 24K Feb 18 2009 sid.bmp -rw-r--r-- 1 root root 1.2M Jan 13 2010 System.map-2.6.26-2-amd64 -rw-r--r-- 1 root root 1.7M Jan 13 2010 vmlinuz-2.6.26-2-amd64
  11. Witam wszystkich! Od ponad roku mam dedyka w Hetznerze, nie miałem dotąd żadnych problemów, aż do piątku. Kasując katalogi z kopiami, które błędnie tworzyły się w głównym, zamiast w /backup nieopatrznie wywaliłem /bin oraz /boot - myślę, że tylko (i AŻ) tyle, bo podczas kasowania (Midnight Commander-em) krzynkął mi, że nie może czegoś usunąć - natychmiast przerwałem kasowanie. Na domiar złego zrobiłem po tym wszystkim reboot i tyle widziałem swoje serwisy oraz serwisy klientów. Wszedłem w tryb RESCURE, podmontowałem dysk mount / dev / md2 (mam soft RAID 1) odtworzyłem /bin oraz /boot z kopii ale po restarcie nie wstał. Znów tryb RESCURE, montowanie dysku, dodatkowo: mount --bind /dev /mnt/dev/ mount --bind /proc /mnt/proc/ mount --bind /sys /mnt/sys/ chroot-prepare /mnt oraz chroot /mnt /bin/bash po tym zrobiłem update-grub reset i nic. Serwera nie widać. Poprosiłem ich, by dali dostęp przez Larę - mam podgląd video z serwera. Przy bootowaniu pojawia się Grub loading Error 15 i wisi. Proszę pomóżcie, jutro poniedziałek, a klienci już od wczoraj dzwonią. Skończyły mi się pomysły.
×