Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Ubuntu 8.04
Re: Ubuntu 8.04 [message #15592 is a reply to message #15571] Tue, 29 April 2008 23:26 Go to previous messageGo to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
It can't be possible, when I run Ubuntu in VirtualBox it work ok but when I want to use it on real machine it doesn't work.
Problems follow (note: "..." means more lines skipped):
After choosing to boot from cd/dvd (I've tried booth solutions), I've selected installer language and pressed enter to run/install Ubuntu. Splash animation appear for few seconds, the it disappear and let me alone with a shell.
Quote:


BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)


I've tried to start the kernel with kinit command, and here is part of his output:
Quote:


kinit
argc == 8
argv[0]: "kinit"
...
...
...
argv[7]: "--"
argc == 3
argv[0]: "IP-Config"
...
argv[2]: "Linux kinit"
IP-Config: no devices to config
kinit: do_mount
kinit: root_dev = dev(0,0)
kinit: failed to identify filesystem /dev/root, trying all
kinit: failed to mount /dev/root on /root with type cramfs
kinit: Cannot open root device(0,0)
kinit: init not found!


Doing a directory listing I seen casper.log, which contain the following:
Quote:


/init: /init: 1: Cannot open /dev/sda : No such file
stdin: error 0
stdin: I/O error
stdin: I/O error
...
...
Unable to find a medium containing a live file system


Well error about init is not normally, init file exist and here is his output when I called it:
Quote:


Loading, please wait...
mount: Mounting none on /sys failed: Device or resurce busy
udevd[6652]: init_udev_sockd: bind failed: Address already in use
error initializing udevd socked
udevd[6652]: main: error initializing udevd socket


Well after failed to install/upgrade from dvd I've rebooted my system and tried to upgrade directly from it. So I've opened a console, entered in /media/cdrom and called update script
Quote:


"cdromupgrade", and here are his error outputs:
tar: ./dists/stable/main/dist-upgrader/binary-all//hardy.tar.gz : Cannot open: No such file
tar: Error is not recoverable: exiting now
tar: child returned status 2
tar: Error exit delayed from previous error
Could not find the upgrade application in the archive, exiting


After checking cdromupgrade script
Quote:


#!/bin/sh
#
# "cdromupgrade" is a shell script wrapper around the dist-upgrader
# to make it possible to put it onto the top-level dir of a CD and
# run it from there
#
# Not that useful unfortunately when the CD is mounted "noexec".
#
# WARNING: make sure to call it with a absolute path!
# (e.g. /cdrom/cdromugprade)

# the codename is AUTO-GENERATED from the build-host relase codename
CODENAME=hardy
UPGRADER_DIR=dists/stable/main/dist-upgrader/binary-all/

cddirname="${0%\/*}"
fullpath="$cddirname/$UPGRADER_DIR"

# extrace the tar to a TMPDIR and run it from there
if [ ! -f "$fullpath/$CODENAME.tar.gz" ]; then
echo "Could not find the upgrade application archive, exiting"
exit 1
fi

TMPDIR=$(mktemp -d)
cd $TMPDIR
tar xzf "$fullpath/$CODENAME.tar.gz"
if [ ! -x $TMPDIR/$CODENAME ]; then
echo "Could not find the upgrade application in the archive, exiting"
exit 1
fi
$TMPDIR/$CODENAME --cdrom "$cddirname"


I've found the solution, the line
UPGRADER_DIR=dists/stable/main/dist-upgrader/binary-all/

should be
UPGRADER_DIR=dists/stable/main/dist-upgrader/binary-all #without last slash 

But how to modify it and put again on dvd?
Hope you don't get bored until now Smile.
Should I post it on Ubuntu forums?


cdabbd745f1234c2751ee1f932d1dd75
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MPL
Next Topic: U++ versioning
Goto Forum:
  


Current Time: Thu May 09 13:48:19 CEST 2024

Total time taken to generate the page: 0.02600 seconds