Greetings!
I pruned the Mint programs off a working flash drive that was previous installed with Mint 14 then installed Porteus 3.1 which ran okay with Mint home folder intact and functional till I decided to "prune" a few more residual Mint files and folders to make more disk space and when I rebooted the startup screen stopped with:
cp: can't stat '/union/sbin/init: no such file or directory.
So I guess I pruned just a little too much. Am I proper in assuming that I can replace the deleted file or folder with one from another Porteus flash if I knew exactly what to copy, or can I reinstall Porteus on the same drive to replace what missing vital Porteus files without fear of the home folder or new app and screen defaults being overwritten? This isn't a super-emergency, but just for learning's sake I'd like to know if such remedies would work. Thanks!
Thanks for any assist!
Jim in NYC
Replacing Deleted Porteus Start-up File/Files
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Replacing Deleted Porteus Start-up File/Files
Could you have removed something from the boot folder? The only situation I can think of is if you removed/replaced vmlinuz or initrd.xz. IF Porteus is finding another kernel somewhere it may also be booting from that. Perhaps with no aufs compiled in and therefore can't find init.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 400
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus 5.0-RC1
- Location: In a hayfield
Re: Replacing Deleted Porteus Start-up File/Files
Is the porteus.cfg file pointing to the right kernel and initrd.xz?
I've had that error if the wrong initrd.xz was set on the command line.
I've had that error if the wrong initrd.xz was set on the command line.