Re: [Vyatta-users] /boot empty after upgrade to VC2.2
Hi Robert, The /boot was empty after answering 'yes' to the 'Delete old packages...' question. It was not a matter of menu.lst or wrong naming. It might well be that I have to blame myself because I went to 'testing' some weeks ago and back to 'main' when 2.2 was announced. OTOH, it might be a flaw in the update scripts, which is something you can much better investigate than I. In the mean time I've rewritten both disk and CF with install-system but the boot process just dies at the load/execution of 'device-manager'. I cannot find why previous releases worked just fine on this piece of Soekris hardware. Also Pyramid-Linux works fime (also a Debian clone, kernel 2.16.19) but since the documentation is close to nill I cannot get it to work like I want. Maybe after all a special kernel *IS* needed for Soekris with its Geode and SC1200 gpio... :-( I might fire up my development system again and create my own .ISO with a tuned kernel. My problem is that I more or less know where/what the problem is but I do not always know how to solve it due to lack of specific knowledge. Tnx Egbert > -Original Message- > From: Robert Bays [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 06, 2007 3:05 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Vyatta-users] /boot empty after upgrade to VC2.2 > > > Egbert, > > If you are getting the grub prompt, then either your menu.lst > file is munged or it can't read the kernel that it's pointing > at. I would first make sure the partition holding the kernel > is readable and that the kernel is in the right place. Next > I would verify that the grub boot parameters are correct. > You can verify and/or edit your boot parameters at startup > time by pressing the esc key at the grub menu prompt then > pressing e to edit the entry. Verify that the parameters you > see there are the ones you are expecting or edit accordingly. > Try to verify that the cf is really hda on the soekris and > not hdb etc... > > Cheers, > Robert. > > Egbert Jan wrote: > > Hi, > > > > I've lost my Vyatta router (Soekris4801, VC2.1 with > community/testing > > updates) after upgradiing to VC 2.2. The Soekis was configured for > > communitiy/testing and all recent updating went fine. Now 'testing' > > was recently promoted to 'main' I decided to go back to > 'main' and get > > in step with the VC2.2 release. > > > > Procedure: > > > > I've changed the repositry from 'testing' back to 'main' (via web > > interface) and logged in as root to do the apt-get etc. > (followed the > > latest corrections from the list). After a while I got the > question to > > delete a list of 'old' packages. I answered 'yes' and found > out that I > > ended up with a clean /boot. That was certainly not what I > wanted to > > achieve... Has it to do with the fact that I had been running on > > 'testing' for a while and changed back to 'main'? Should I > answer 'No' > > when promped to delete 'old' packages in my case? > > > > Trying to recover from this, I downloaded the VC2.2 CD, booted my > > laptop with it and connected the 12 Gb drive from the Soekris via a > > USB to IDE adapter to my laptop. I was able to do a > system-install to > > the drive. Via USB the drive is recognized as sda. I > realized that I > > would have to do a manual edit to /boot/grub/menu.lst to change > > references to 'sd' into 'hd', which I did. I placed the > drive back in > > the Soekris. Unfortunately it still does not boot into the > kernel. It > > does load grub (I get a 'grub>' prompt) but there it stops. > Is there > > more to do to change from 'sd' to 'hd' than just edit menu.lst > > > > Thanks for any advise! > > > > Egbert Jan > > > > > > ___ > > Vyatta-users mailing list > > Vyatta-users@mailman.vyatta.com > > http://mailman.vyatta.com/mailman/listinfo/vyatta-users ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users
Re: [Vyatta-users] /boot empty after upgrade to VC2.2
Egbert, If you are getting the grub prompt, then either your menu.lst file is munged or it can't read the kernel that it's pointing at. I would first make sure the partition holding the kernel is readable and that the kernel is in the right place. Next I would verify that the grub boot parameters are correct. You can verify and/or edit your boot parameters at startup time by pressing the esc key at the grub menu prompt then pressing e to edit the entry. Verify that the parameters you see there are the ones you are expecting or edit accordingly. Try to verify that the cf is really hda on the soekris and not hdb etc... Cheers, Robert. Egbert Jan wrote: > Hi, > > I've lost my Vyatta router (Soekris4801, VC2.1 with community/testing > updates) after upgradiing to VC 2.2. The Soekis was configured for > communitiy/testing and all recent updating went fine. Now 'testing' was > recently promoted to 'main' I decided to go back to 'main' and get in step > with the VC2.2 release. > > Procedure: > > I've changed the repositry from 'testing' back to 'main' (via web interface) > and logged in as root to do the apt-get etc. (followed the latest > corrections from the list). After a while I got the question to delete a > list of 'old' packages. I answered 'yes' and found out that I ended up with > a clean /boot. That was certainly not what I wanted to achieve... Has it to > do with the fact that I had been running on 'testing' for a while and > changed back to 'main'? Should I answer 'No' when promped to delete 'old' > packages in my case? > > Trying to recover from this, I downloaded the VC2.2 CD, booted my laptop > with it and connected the 12 Gb drive from the Soekris via a USB to IDE > adapter to my laptop. I was able to do a system-install to the drive. Via > USB the drive is recognized as sda. I realized that I would have to do a > manual edit to /boot/grub/menu.lst to change references to 'sd' into 'hd', > which I did. I placed the drive back in the Soekris. Unfortunately it still > does not boot into the kernel. It does load grub (I get a 'grub>' prompt) > but there it stops. Is there more to do to change from 'sd' to 'hd' than > just edit menu.lst > > Thanks for any advise! > > Egbert Jan > > > ___ > Vyatta-users mailing list > Vyatta-users@mailman.vyatta.com > http://mailman.vyatta.com/mailman/listinfo/vyatta-users ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users
Re: [Vyatta-users] /boot empty after upgrade to VC2.2
Copying the list again... > -Original Message- > From: Joel Krauska [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 02, 2007 10:38 PM > To: [EMAIL PROTECTED] > Subject: Re: [Vyatta-users] /boot empty after upgrade to VC2.2 > > > Egbert Jan wrote: > > Yep. In fact I can boot now but only up to the line: > > ... > > scx200: GPIO base 0x6100 > > scx200: Configuration Block base 0x6000 > > input: PC Speaker as /class/input/input0 > > EXT3 FS on hda1, internal journal > > device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: > > [EMAIL PROTECTED] > > > > Silence here after... > > Well this has you way past grub, and in to kernel land. > > So I think you're right, and there's likely a kernel change > that's impacting you. > > What is your > root=XXX statement say? > > --joel Hi Joel, that looks rather straitforward: Kernel command line: root=/dev/hda1 ide=nodma console=ttyS0,9600 console=tty0 Strange is that the kernel is still 2.6.20, only the build is newer. Maybe I was just plain lucky that Debian Etch runs out of the box on Soekris hardware (Geode 266 MHz and SC1200). I'll configure things for netbooting, that is faster than moving the disk around to the laptop each time. The soekris has only one IDE connector for a 2.5'' disk and a CF. TNX Egbert Jan ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users
[Vyatta-users] /boot empty after upgrade to VC2.2
Hi, I've lost my Vyatta router (Soekris4801, VC2.1 with community/testing updates) after upgradiing to VC 2.2. The Soekis was configured for communitiy/testing and all recent updating went fine. Now 'testing' was recently promoted to 'main' I decided to go back to 'main' and get in step with the VC2.2 release. Procedure: I've changed the repositry from 'testing' back to 'main' (via web interface) and logged in as root to do the apt-get etc. (followed the latest corrections from the list). After a while I got the question to delete a list of 'old' packages. I answered 'yes' and found out that I ended up with a clean /boot. That was certainly not what I wanted to achieve... Has it to do with the fact that I had been running on 'testing' for a while and changed back to 'main'? Should I answer 'No' when promped to delete 'old' packages in my case? Trying to recover from this, I downloaded the VC2.2 CD, booted my laptop with it and connected the 12 Gb drive from the Soekris via a USB to IDE adapter to my laptop. I was able to do a system-install to the drive. Via USB the drive is recognized as sda. I realized that I would have to do a manual edit to /boot/grub/menu.lst to change references to 'sd' into 'hd', which I did. I placed the drive back in the Soekris. Unfortunately it still does not boot into the kernel. It does load grub (I get a 'grub>' prompt) but there it stops. Is there more to do to change from 'sd' to 'hd' than just edit menu.lst Thanks for any advise! Egbert Jan ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users