
Hi, My attempt to upgrade my laptop from Dapper to Edgy has failed. After booting it goes into single user mode and I assume that upstart is not installed correctly. Does anyone know how to recover from this? I searched but so far haven't found anything helpful. Glenn -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz

All I can add is that I failed to successfully update from Breezy to Dapper. I used the alternative CD and followed the instructions carefully. I ended up just installing Dapper over Breezy. Hopefully you thought to back up your data and have /home on a separate partition. That makes a reinstall much easier but if you don't you might need to work with the command line for a bit longer to backup to data to another harddrive before starting again. Of course, other gurus might have a few more clues. :) Chris On 22/03/07, Glenn Ramsey <glenn(a)componic.co.nz> wrote:
Hi,
My attempt to upgrade my laptop from Dapper to Edgy has failed.
After booting it goes into single user mode and I assume that upstart is not installed correctly.
Does anyone know how to recover from this? I searched but so far haven't found anything helpful.
Glenn
-- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

Thanks Chris, It's all on the same partition so I don't want to reinstall if I can help it. Some more info: I think the problem occurred because I installed upstart (using apt-get) and it didn't install everything it should have installed. I figure it can be fixed by reinstalling sysv-init, however... If I boot in recovery mode then it goes into single use mode with root mounted read only. I can remount it rw and run apt-get from but can't access a package repository because there is no cdrom driver loaded. Also I have a mirror of the repository on an external usb hard drive and could use that if I can figure out how to mount it. Does anyone have any advice about that? Glenn Chris O'Halloran wrote:
All I can add is that I failed to successfully update from Breezy to Dapper.
I used the alternative CD and followed the instructions carefully.
I ended up just installing Dapper over Breezy.
Hopefully you thought to back up your data and have /home on a separate partition. That makes a reinstall much easier but if you don't you might need to work with the command line for a bit longer to backup to data to another harddrive before starting again.
Of course, other gurus might have a few more clues. :)
Chris
On 22/03/07, Glenn Ramsey <glenn(a)componic.co.nz> wrote:
Hi,
My attempt to upgrade my laptop from Dapper to Edgy has failed.
After booting it goes into single user mode and I assume that upstart is not installed correctly.
Does anyone know how to recover from this? I searched but so far haven't found anything helpful.
Glenn

Craig Box wrote:
After booting it goes into single user mode and I assume that upstart is not installed correctly.
Dapper to Edgy requires two aptitude dist-upgrades to install upstart. Are you waiting on the second?
Probably, I didn't realise that, but now the machine isn't in a state where that can happen easily. Glenn -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz

Glenn Ramsey wrote:
Craig Box wrote:
After booting it goes into single user mode and I assume that upstart is not installed correctly. Dapper to Edgy requires two aptitude dist-upgrades to install upstart. Are you waiting on the second?
Probably, I didn't realise that, but now the machine isn't in a state where that can happen easily.
Glenn
I managed to get the upgrade completed by mounting a usb drive containing a repository mirror from single use mode. I imagine the same could be done for a cdrom. For those who are reading this in the archives, here's what I did... Remount / read-write $mount -o remount,rw / Load the usb-storage module $modprobe usb-storage Make dev nodes $mknod /dev/sdb b 8 16 $mknod /dev/sdb1 b 8 17 Mount the drive (/media/sdb1 already exists) $mount -t vfat /dev/sdb1 /media/sdb1 Upgrade $aptitude dist-upgrade -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz

Hello, How did you add the the usb drive as a repository? Or is that even what you did? Or by running aptitude dist-upgrade in the same directory did that pick it up? Just curiuos to know how you rescued the system. On 22/03/07, Glenn Ramsey <glenn(a)componic.co.nz> wrote:
Glenn Ramsey wrote:
Craig Box wrote:
After booting it goes into single user mode and I assume that upstart is not installed correctly. Dapper to Edgy requires two aptitude dist-upgrades to install upstart. Are you waiting on the second?
Probably, I didn't realise that, but now the machine isn't in a state where that can happen easily.
Glenn
I managed to get the upgrade completed by mounting a usb drive containing a repository mirror from single use mode. I imagine the same could be done for a cdrom.
For those who are reading this in the archives, here's what I did...
Remount / read-write
$mount -o remount,rw /
Load the usb-storage module
$modprobe usb-storage
Make dev nodes
$mknod /dev/sdb b 8 16 $mknod /dev/sdb1 b 8 17
Mount the drive (/media/sdb1 already exists)
$mount -t vfat /dev/sdb1 /media/sdb1
Upgrade
$aptitude dist-upgrade
-- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

Chris O'Halloran wrote:
Hello,
How did you add the the usb drive as a repository? Or is that even what you did? Or by running aptitude dist-upgrade in the same directory did that pick it up?
Just curiuos to know how you rescued the system.
I have a mirror of the complete edgy repository (several Gb) on a 2.5" external hdd [1] so I just add lines like this to my /etc/apt/sources.list deb file:/media/sdb1/path/to/repository/ubuntu edgy main ...etc Then apt treats it just the same as a cdrom or http source, except that it skips the download step, and I just do 'aptitude <whatever>' as usual. Glenn [1] which I mirror from a mirror at Ak Uni when I have have my laptop plugged into the LAN, I'm a part time grad student there -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz

On Thu, 22 Mar 2007 10:25:17 +1200 Glenn Ramsey <glenn(a)componic.co.nz> wrote:
My attempt to upgrade my laptop from Dapper to Edgy has failed.
After booting it goes into single user mode and I assume that upstart is not installed correctly.
Does anyone know how to recover from this? I searched but so far haven't found anything helpful.
I've had good luck booting from a live CD and running "chroot /mnt/hda1 /bin/bash" (changing /mnt/hda1 to wherever your hard disk is mounted). You may need to also run "source ~/.bash_profile" to get your prompt and paths set. From there you should be able to run apt-get or aptitude to install the files you need. You'll need to mount /dev and /proc to do things like reinstalling grub and i can't remember how to do that off the top of my head, but i'm sure someone else here does. You can use a Edgy, Dapper or even Knoppix live CD to do this with. Regards, Jon

Jonathan Purvis wrote:
On Thu, 22 Mar 2007 10:25:17 +1200 Glenn Ramsey <glenn(a)componic.co.nz> wrote:
My attempt to upgrade my laptop from Dapper to Edgy has failed.
After booting it goes into single user mode and I assume that upstart is not installed correctly.
Does anyone know how to recover from this? I searched but so far haven't found anything helpful.
I've had good luck booting from a live CD and running "chroot /mnt/hda1 /bin/bash" (changing /mnt/hda1 to wherever your hard disk is mounted). You may need to also run "source ~/.bash_profile" to get your prompt and paths set. From there you should be able to run apt-get or aptitude to install the files you need. You'll need to mount /dev and /proc to do things like reinstalling grub and i can't remember how to do that off the top of my head, but i'm sure someone else here does. You can use a Edgy, Dapper or even Knoppix live CD to do this with.
I knew there must have been an easier way than the way I did it, but then again I guess the overall amount of effort, in terms of manually mounting and configuring things, would have been about the same. It's good to know about that for next time, thanks. Glenn -- Glenn Ramsey <glenn(a)componic.co.nz> 07 8627077 http://www.componic.co.nz
participants (4)
-
Chris O'Halloran
-
Craig Box
-
Glenn Ramsey
-
Jonathan Purvis