On Sun, 2014-01-19 at 18:20 +1100, iacchi wrote: > First question: the guide in the link just above assumes that / and > /boot are in two separate partitions, while I have them in the same one. > Should I only mount /dev/sda1 as / and that's it? In my case I won't > have to refer to the /boot directory in any way, because it's already > inside / in /dev/sda1, right?
I think that is correct, yes. > Second question: the guide just says "make modifications to the system > and regenerate the initramfs" because you can do pretty much everything > there. But... what should I do? How do I flash a working kernel? This is > what I thought: > 1. Flash the kernel and initram contained in the Debian installer - how? > Will it work? I don't think you want to do this, that initramfs will not be the right thing to boot the proper system -- it will launch the installer. In fact, if you followed the rescue procedure then this is already what is in your flash at this point. > 2. Flash the last working kernel of Debian testing - how? Unless you have been deliberately cleaning them out then older kernels should still be installed, but flash-kernel is just picking up the newer 3.12 version. # dpkg --purge linux-image-3.12-blahblah # flash-kernel should do the job and flash the next newest version (need to run f-k by hand due to #735093). You could also download the latest kernel from sid, 3.12.8-1, which has the booting bug fixed and manually install that. > Or, better, Iknow how: I have to wget the .deb files of the working kernel > and > initram and install them with dpkg, then launch flash-kernel (with > special parameters?). But how can I find these .deb files? can I look in > the apt cache directory to see if they're still there? Yes, that would be the first place I would look > Can I download them from the Debian repositories? Does Debian keep a copy of > older > kernels/deb in general online? I've never found them. snapshot.debian.org would be the second place I would look. See http://snapshot.debian.org/package/linux/ > 3. What else? > > Third question: after I've managed to flash a working kernel and > initram, should I still give the command "update-initramfs -u" as the > guide says? Or will it be redundant/unuseful at this point? I don't think you need to, the issue you are having is not with the initramfs and in any case the installing/removing kernels should cause it to be regenerated as necessary. That said, there should be no harm in running that command. > Four: if all of the above goes right, when I reboot will I have my > system back as it was before the problem? With all my > data/programs/system accessible as it was before? Or there will be other > steps to perform before I can go back using it? I think it should all be there and should be working. Good luck! Ian. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

