[SOLVED] Lenny=>Squeeze upgrade not completing

If none of the more specific forums is the right place to ask

[SOLVED] Lenny=>Squeeze upgrade not completing

Postby s3a » 2010-05-28 00:18

Ok so this all started when I tried to upgrade my computer from Lenny to Squeeze and it downloaded everything but it's stuck at installing udev which it said it couldn't do on the 2.6.26 kernel. I then did update-grub and Squeeze's 2.6.32 kernel was seen (on grub). I have grub-legacy chainloading (if I'm not mistaken) but I don't have grub2 installed. When I try to boot through the 2.6.32 kernel so that I can complete the upgrade (that is to install udev and have everything working fine), instead of reaching the OS, it says something along the lines of "kernel panick not syncing vfs" and something about "root(hd1,0)". I've tried to solve this on the Debian IRC channel but haven't been able to so it would be greatly appreciated if someone helps me get through this!

Thanks in advance!
Last edited by s3a on 2010-05-30 02:13, edited 1 time in total.
Use Mnemosyne to Study for School!
User avatar
s3a
 
Posts: 803
Joined: 2008-07-17 22:13

Re: Lenny=>Squeeze upgrade not completing

Postby craigevil » 2010-05-28 01:08

Debian User Forums • View topic - lenny to squeeze upgrade - udev/kernel issue - viewtopic.php?f=16&t=48996


Actually the answer is in the error message.

"AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing"

Just create that file as root : touch /etc/udev/kernel-upgrade or use your favorite file manager navigate to /etc/udev right-click Create New txt file named kernel-upgrade
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: Lenny=>Squeeze upgrade not completing

Postby BioTube » 2010-05-28 03:22

You should be able to bypass the panic by changing the 'root=UUID=' part to 'root=/dev/sdX'.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
BioTube
 
Posts: 7551
Joined: 2007-06-01 04:34

Re: Lenny=>Squeeze upgrade not completing

Postby cynwulf » 2010-05-28 15:47

I had the same problems when I upgraded my other box from Lenny to Squeeze about 2 weeks ago. I did not do 'aptitude -f install', instead I called off the updates at that point and installed 2.6.32-3 and then rebooted and carried on updating without further issues.

I had some more problems (problem between keyboard and chair) with grub -> grub2, grub legacy was still there and could not see the 2.6.32 kernel for some reason - I eventually managed to resolve this by purging grub completely (not a good idea as it leaves the system without a bootloader) and immediately resinstalling grub2 and running update-grub. I doubt I went the right way about it, but it worked in the end.
cynwulf
 
Posts: 2396
Joined: 2008-09-25 08:49

Re: Lenny=>Squeeze upgrade not completing

Postby refracta » 2010-05-28 16:02

cynwulf wrote:...purging grub .... resinstalling grub2 and running update-grub.

that seems to be the sane method actually....all that chainload this and then do that and then something else stuff makes the process seem complex
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: Lenny=>Squeeze upgrade not completing

Postby s3a » 2010-05-29 06:58

@cynwulf/refracta: I cannot install anything until udev is installed since the system does not allow me to.

@BioTube: Also on grub when I press e to edit the 2.6.32 kernel selection, it already says /dev/mapper/debian-root since I'm using LVM.

@craigevil: As for "Just create that file as root : touch /etc/udev/kernel-upgrade or use your favorite file manager navigate to /etc/udev right-click Create New txt file named kernel-upgrade." When you say "touch," do you mean edit? Or do I just create a blank new file with that name in that directory? By the way my GUI is disfunctional until I solve this problem not that that's necessarily a big problem since I can just use nano to make this file. Do I have to be running the 2.6.32 kernel when doing that? (because I can't even boot to it even though it's installed)
Use Mnemosyne to Study for School!
User avatar
s3a
 
Posts: 803
Joined: 2008-07-17 22:13

Re: Lenny=>Squeeze upgrade not completing

Postby jamofix » 2010-05-29 08:19

When I upgrade my system I had similar problem and solution found here:

http://theosjunkie.wordpress.com/2010/0 ... ngsqueeze/
jamofix
 
Posts: 1
Joined: 2008-11-02 12:39

Re: Lenny=>Squeeze upgrade not completing

Postby craigevil » 2010-05-29 14:34

s3a wrote:@cynwulf/refracta: I cannot install anything until udev is installed since the system does not allow me to.

@BioTube: Also on grub when I press e to edit the 2.6.32 kernel selection, it already says /dev/mapper/debian-root since I'm using LVM.

@craigevil: As for "Just create that file as root : touch /etc/udev/kernel-upgrade or use your favorite file manager navigate to /etc/udev right-click Create New txt file named kernel-upgrade." When you say "touch," do you mean edit? Or do I just create a blank new file with that name in that directory? By the way my GUI is disfunctional until I solve this problem not that that's necessarily a big problem since I can just use nano to make this file. Do I have to be running the 2.6.32 kernel when doing that? (because I can't even boot to it even though it's installed)


yes just create a blank file . "touch" is a command that will do just that.

touch /etc/udev/kernel-upgrade as root will create the file allowing udev to update.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: Lenny=>Squeeze upgrade not completing

Postby milomak » 2010-05-29 17:19

craigevil wrote:
s3a wrote:@cynwulf/refracta: I cannot install anything until udev is installed since the system does not allow me to.

@BioTube: Also on grub when I press e to edit the 2.6.32 kernel selection, it already says /dev/mapper/debian-root since I'm using LVM.

@craigevil: As for "Just create that file as root : touch /etc/udev/kernel-upgrade or use your favorite file manager navigate to /etc/udev right-click Create New txt file named kernel-upgrade." When you say "touch," do you mean edit? Or do I just create a blank new file with that name in that directory? By the way my GUI is disfunctional until I solve this problem not that that's necessarily a big problem since I can just use nano to make this file. Do I have to be running the 2.6.32 kernel when doing that? (because I can't even boot to it even though it's installed)


yes just create a blank file . "touch" is a command that will do just that.

touch /etc/udev/kernel-upgrade as root will create the file allowing udev to update.


i wish i had known this some months back when I wanted to upgrade from stable (lenny) to testing (squeeze). such a simple solution (i assume it allows the install of the testing kernel in the transition environment).
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Debian Sid, Win10,
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Debian Sid
milomak
 
Posts: 1972
Joined: 2009-06-09 22:20

Re: Lenny=>Squeeze upgrade not completing

Postby s3a » 2010-05-30 02:13

Ok so I solved this by doing: touch /etc/udev/kernel-upgrade (thanks everyone!) That solved my kernel and udev installation problem. However, now I can't use GNOME or even KDE. In order to keep this thread clean, I'm posting the new question here: viewtopic.php?f=10&t=52412
Use Mnemosyne to Study for School!
User avatar
s3a
 
Posts: 803
Joined: 2008-07-17 22:13

Re: [SOLVED] Lenny=>Squeeze upgrade not completing

Postby dindoun » 2010-07-07 16:19

thanks a lot for
Code: Select all
touch /etc/udev/kernel-upgrade
:D :D
i had the same problem with udev and apt-get -f install which didn't accept to solve the upgrade from lenny to squeeze
dindoun
 
Posts: 1
Joined: 2010-07-07 16:15


Return to General Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable