Ubuntu Core's wiki page page contains the instructions to install Ubuntu Core on a target media:
- Uncompress (do not unpack) rootfs
- Format target media: at least one partition should be
ext2
,ext3
, orext4
- Unpack Ubuntu Core to
ext{2,3,4}
partition- Install boot-loader
- Install Linux
- If the Linux kernel requires modules, add these to
/lib/modules/$(uname -r)
in theext{2,3,4}
file system- Boot the target device
- Install any additional required software using
apt-get
But what are the specific commands to do the above? The things I'm specifically confused about are:
- Uncompressing and unpacking, what's the difference and how do I do them?
- What package should I install if I want the generic kernel provided in regular Ubuntu installation?
- I won't be installing any drivers or anything related to kernel other than what's provided in the repos, do I need to worry about manually adding kernel modules?
PS I would like to request that all the commands used in the installation process be mentioned in the answer, for the benefit of ones who're completely unfamiliar and myself, should I ever forget.
chroot
environment? – Oxwivi Oct 21 '11 at 10:01adduser
as opposed touseradd
as it's more comfortable. – turbo Oct 21 '11 at 11:31chmod go+rx /
as root fixed this problem. Something to watch out for! – Alex Dec 17 '12 at 03:23/etc/resolv.conf
(to still have network access after running the chroot command) at http://ubuntuforums.org/showthread.php?t=2148620&p=12665156#post12665156 – Pro Backup Mar 13 '14 at 12:11