üdv,
áramkimaradás volt az épületben és újrainditottamvolna a szervert, de csak konzolosan enged be. Az /etc/rtc_config-ra és a /system/boot-archivra panaszkodik. Egx fsck-t már ráengedtem, de semmi javulás nincs.
Valaki tudja mit lehet ilyenkor tenni?
- 1595 megtekintés
Hozzászólások
bebootolsz failsafe módba, az 'updated archives' kérdésre "yes"-el válaszolsz. Utána a root file rendszered elméletileg a /a mount ponton látszik.
Ezután futtatod a következő parancsot:
bootadm update-archive -f -R /a
- A hozzászóláshoz be kell jelentkezni
failsafe módba, hogyan jutok, még nem csináltam ilyet soha
- A hozzászóláshoz be kell jelentkezni
Szerkesztve:
Konzolon a boot elején a Grub menüben van egy "Failsafe" mód is. :)
(Valójában ez a direkt single user módba bootolásnak felel meg, mivel "kernel/unix -s" -t bootol.)
- A hozzászóláshoz be kell jelentkezni
Ettől féltem Nekem csak egy sor van, Hogy Solaris
de ha nyomok egy 'e', akkor
root (hd0,1,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
- A hozzászóláshoz be kell jelentkezni
Így nézne ki ha lenne:
title Solaris failsafe
root (hd0,1,a)
kernel /boot/multiboot -B console=ttya -s
module /boot/x86.miniroot.safe
Ez alapján be grub-bol talán be tudod bootolni.
- A hozzászóláshoz be kell jelentkezni
Valami ilyesmit találtam én is:
4.3 Boot Archive
The boot archive refers to the file platform/i86pc/boot_archive. It is a collection of core kernel modules and configuration files packed in either UFS or ISOFS format. At boot time, GRUB loads the boot archive into system memory. The kernel can now initialize itself from data and text in the boot archive without performing I/O to the root device. Once the kernel gains sufficient I/O capability, it will mount the root file system on the real root device as specified by the bootpath property. At this point, the boot archive loaded by GRUB is discarded from memory.
The content of the boot archive is specified in /boot/solaris/filelist.ramdisk. Upon system shutdown, the system checks for updates to the root file system and updates the boot archive when necessary. The system may manually update the boot archive prior to system shutdown by running the bootadm(1M) command.
4.4 The Failsafe Menu Entry
New to the Solaris 10 1/06 OS is a file, /boot/x86.miniroot-safe, containing a bootable, standalone Solaris image. This file can be loaded by choosing the Solaris failsafe entry from the GRUB menu. This is for the convenience of system administrators when the normal entry fails to boot.
Suppose you add a new package containing a faulty driver, and the system panics at boot time. Upon reboot, you can pick the Solaris failsafe menu entry. While in the failsafe session, mount the root file system on /a and run pkgrm -R to remove the faulty package. Once this is complete, you can reboot to the normal Solaris entry to resume system operation.
The file /boot/x86.miniroot-safe can also be copied to portable media, such as a USB stick, as a recovery tool.
- A hozzászóláshoz be kell jelentkezni
/boot/grub/menu.lst fájl nem tudom megnyitni vi-vel, mert csak olvasható a vinyó. Gondolom, amit írtál a failsafe módról itt kell bejegyezni.
- A hozzászóláshoz be kell jelentkezni
vagy grub-nál parancs sorban boot előtt.
- A hozzászóláshoz be kell jelentkezni
A GRUB menüben e aztán c, mert azt próbáltam,de hiába írom át az eredeti szerint bootol.
- A hozzászóláshoz be kell jelentkezni
Error 20 Multiboot kernel must be loaded before modules
- A hozzászóláshoz be kell jelentkezni
Esetleg bootolhatsz CD-ről is, és felmountolhatod a diszken levő root partíciódat.
- A hozzászóláshoz be kell jelentkezni
svcadm clear system/boot-archive (vagy mi a neve, azt megnezed svcs-sel), utana reboot
- A hozzászóláshoz be kell jelentkezni