Sinds enige tijd heb ik een hobby server draaien met Ubuntu 9.04. Deze werkte prima, maar omdat ik er toch steeds meer tegen aanliep dat ik met verouderde packages zat, besloot ik vandaag om maar eens te gaan upgraden naar 9.10.
Uiteindelijk heb ik dat op de volgende manier gedaan:
Dit leek allemaal wel aardig te gaan en toen moest ik rebooten. Toen begon de ellende. Ik kwam er remote niet meer in. Gelukkig is het een virtuele server dus kan ik nog wel op een andere manier inloggen. Ik krijg dan het volgende te zien:
Goed, dan maar inloggen om te kijken of op die manier wat te repareren valt. Gelijk gegoogled, maar op init: ureadahead main process (1951) terminated with status 5 kan ik niet veel vinden en op mountall:/proc: unable to mount: Device or resource busy krijg ik enorm veel hits en weet ik eigenlijk niet goed waar ik moet beginnen.
Kan het nog iets te maken hebben met het feit dat GRUB is geupdate naar 1.97~beta4?
Iets anders wat ik namelijk apart vind is dat wanneer ik 'ls /boot/grub/' uitvoer, ik alleen 'grubenv' zie staan.
Heeft iemand ideeën hoe ik dit op kan lossen?
Uiteindelijk heb ik dat op de volgende manier gedaan:
code:
1
2
3
4
5
| - Install update-manager-core if it is not already installed: sudo apt-get install update-manager-core - edit /etc/update-manager/release-upgrades and set Prompt=normal - Launch the upgrade tool: sudo do-release-upgrade |
Dit leek allemaal wel aardig te gaan en toen moest ik rebooten. Toen begon de ellende. Ik kwam er remote niet meer in. Gelukkig is het een virtuele server dus kan ik nog wel op een andere manier inloggen. Ik krijg dan het volgende te zien:
[ 0.000000] Linux version 2.6.24-24-xen (root@*****.nl) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Thu Mar 19 11:30:30 EDT 2009 (Ubuntu 2.6.24-4.6-generic) [ 0.000000] Command line: root=/dev/xvda1 ro xencons=tty1, rootflags=quota [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 0000000010800000 (usable) [ 0.000000] end_pfn_map = 67584 [33184302.803791] Zone PFN ranges: [33184302.803793] DMA 0 -> 4096 [33184302.803794] DMA32 4096 -> 1048576 [33184302.803795] Normal 1048576 -> 1048576 [33184302.803797] Movable zone start PFN for each node [33184302.803798] early_node_map[1] active PFN ranges [33184302.803799] 0: 0 -> 67584 [33184302.809828] No mptable found. [33184302.810515] PERCPU: Allocating 25440 bytes of per cpu data [33184302.810535] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 66660 [33184302.810538] Kernel command line: root=/dev/xvda1 ro xencons=tty1, rootflags=quota [33184302.811004] Initializing CPU#0 [33184302.811511] PID hash table entries: 2048 (order: 11, 16384 bytes) [33184302.811564] Xen reported: 2500.088 MHz processor. [ 0.018883] console [tty0] enabled [ 0.018920] Console: colour dummy device 80x25 [ 0.019162] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.019346] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.019392] Software IO TLB disabled [ 0.021723] Memory: 229740k/270336k available (2532k kernel code, 32084k reserved, 1332k data, 224k init) [ 0.080210] Calibrating delay using timer specific routine.. 5009.11 BogoMIPS (lpj=10018233) [ 0.080274] Security Framework initialized [ 0.080284] SELinux: Disabled at boot. [ 0.080291] AppArmor: AppArmor initialized [ 0.080295] Failure registering capabilities with primary security module. [ 0.080316] Mount-cache hash table entries: 256 [ 0.080453] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.080456] CPU: L2 cache: 6144K [ 0.080464] CPU: Physical Processor ID: 1 [ 0.080465] CPU: Processor Core ID: 1 [ 0.080472] SMP alternatives: switching to UP code [ 0.081285] Freeing SMP alternatives: 23k freed [ 0.081402] Early unpacking initramfs... done [ 0.101476] Brought up 1 CPUs [ 0.102645] net_namespace: 120 bytes [ 0.102650] failed to set up cpufreq notifier [ 0.119300] Time: 165:165:165 Date: 165/165/65 [ 0.119382] NET: Registered protocol family 16 [ 0.122370] Brought up 1 CPUs [ 0.122386] PCI: Fatal: No config space access function found [ 0.122389] PCI: setting up Xen PCI frontend stub [ 0.123122] ACPI: Interpreter disabled. [ 0.123132] Linux Plug and Play Support v0.97 (c) Adam Belay [ 0.123158] pnp: PnP ACPI: disabled [ 0.123893] xen_mem: Initialising balloon driver. [ 0.175300] Setting mem allocation to 262144 kiB [ 0.175462] PCI: System does not support PCI [ 0.175465] PCI: System does not support PCI [ 0.184094] NET: Registered protocol family 8 [ 0.184102] NET: Registered protocol family 20 [ 0.184250] AppArmor: AppArmor Filesystem Enabled [ 0.184621] NET: Registered protocol family 2 [ 0.187976] Time: xen clocksource has been installed. [ 0.220039] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.220203] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.220323] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.220437] TCP: Hash tables configured (established 16384 bind 16384) [ 0.220440] TCP reno registered [ 0.232090] checking if image is initramfs... it is [ 0.254072] Freeing initrd memory: 21300k freed [ 0.265694] audit: initializing netlink socket (disabled) [ 0.265712] audit(1274619236.068:1): initialized [ 0.265854] VFS: Disk quotas dquot_6.5.1 [ 0.265869] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.265933] io scheduler noop registered [ 0.265935] io scheduler anticipatory registered [ 0.265937] io scheduler deadline registered [ 0.265942] io scheduler cfq registered (default) [ 0.267500] Xen virtual console successfully installed as tty1 [ 0.267545] Event-channel device installed. [ 0.272922] Successfully initialized TPM backend driver. [ 0.323191] netfront: Initialising virtual ethernet driver. [ 0.342216] rtc: IRQ 8 is not free. [ 0.342278] Linux agpgart interface v0.102 [ 0.342719] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize [ 0.342770] input: Macintosh mouse button emulation as /devices/virtual/input/input0 [ 0.342854] PNP: No PS/2 controller found. Probing ports directly. [ 0.343676] i8042.c: No controller found. [ 0.343884] mice: PS/2 mouse device common for all mice [ 0.343910] cpuidle: using governor ladder [ 0.343970] NET: Registered protocol family 1 [ 0.344013] registered taskstats version 1 [ 4.285789] xen-vbd: registered block device major 202 [ 4.285825] blkfront: xvda1: barriers enabled [ 5.442007] XENBUS: Waiting for devices to initialise: 295s...<6>blkfront: xvda2: barriers enabled [ 6.241903] [ 6.241915] XENBUS: Device with no driver: device/console/0 [ 6.241932] Magic number: 1:252:3141 [ 6.242050] /usr/src/ubuntu-hardy/debian/build/custom-source-xen/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 6.242068] Freeing unused kernel memory: 224k freed Loading, please wait... Couldnt get a file descriptor referring to the console Couldnt get a file descriptor referring to the console Couldnt get a file descriptor referring to the console Couldnt get a file descriptor referring to the console Couldnt get a file descriptor referring to the console Couldnt get a file descriptor referring to the console Begin: Loading essential drivers... ... [ 6.464744] fuse init (API version 7.9) [ 6.491607] thermal: Unknown symbol acpi_processor_set_thermal_limit [ 6.505778] device-mapper: uevent: version 1.0.3 [ 6.505836] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com Done. Begin: Running /scripts/init-premount ... Done. Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... Done. Begin: Waiting for root file system... ... Done. Begin: Running /scripts/local-premount ... Done. [ 8.181315] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled [ 8.181744] SGI XFS Quota Management subsystem [ 8.203458] blkfront: xvda1: write barrier op failed [ 8.203469] blkfront: xvda1: barriers disabled [ 8.203502] Filesystem "xvda1": Disabling barriers, trial barrier write failed [ 8.216844] XFS mounting filesystem xvda1 Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. init: ureadahead main process (1951) terminated with status 5 mountall:/proc: unable to mount: Device or resource busy mountall:/proc/self/mountinfo: No such file or directory mountall: root filesystem isn't mounted init: mountall main process (1952) terminated with status 1 General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate this shell and re-try. Give root password for maintenance (or type Control-D to continue):
Goed, dan maar inloggen om te kijken of op die manier wat te repareren valt. Gelijk gegoogled, maar op init: ureadahead main process (1951) terminated with status 5 kan ik niet veel vinden en op mountall:/proc: unable to mount: Device or resource busy krijg ik enorm veel hits en weet ik eigenlijk niet goed waar ik moet beginnen.
Kan het nog iets te maken hebben met het feit dat GRUB is geupdate naar 1.97~beta4?
Iets anders wat ik namelijk apart vind is dat wanneer ik 'ls /boot/grub/' uitvoer, ik alleen 'grubenv' zie staan.
Heeft iemand ideeën hoe ik dit op kan lossen?