11/4/2023 0 Comments Debian live usb> I: Found additional required dependencies: acl adduser dmsetup insserv libaudit1 libaudit-common libbz2-1.0 libcap2 libcap2-bin libcryptsetup4 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libgcrypt20 libgpg-error0 libkmod2 libncursesw5 libprocps3 libsemanage1 libsemanage-common libslang2 libsystemd0 libudev1 libustr-1.0-1 procps systemd systemd-sysv udev > I: Resolving dependencies of base packages. > I: Resolving dependencies of required packages. Mount both partitions and use debootstrap to install the base files on it: You can use any filesystem here, as long as it is supported by your future > Writing superblocks and filesystem accounting information: done > Creating filesystem with 3853055 4k blocks and 964768 inodes (the instructions above are heavily based onĬreate a FAT16 filesystem on the boot device:ģ Installing the base system in the root partition Observe that the boot partition has a MS-DOS We now have a /dev/sdc1 that will be our /boot, and /dev/sdc2 that > Calling ioctl() to re-read partition table. > Device Boot Start End Sectors Size Id Type > I/O size (minimum/optimal): 512 bytes / 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > Created a new partition 2 of type 'Linux' and of size 14.7 GiB. > e extended (container for logical partitions) > p primary (0 primary, 0 extended, 4 free) > Be careful before using the write command. > Changes will remain in memory only, until you decide to write them. There are many utilities you can use to partition the USB drive: parted,įor example, using fdisk, run it on /dev/sdc: The rest of the space, that will hold the root filesystem. Will hold the syslinux bootloader and the Linux kernel and another with all We will use /dev/sdcĬreate two partitions on our USB drive: one with 256MB for the /boot that Prepend > to the output of commands on most examples.Īfter inserting the USB drive, it will appear as a block device under /dev, Obs: to ease copy-and-pasting, we show the commands without prompt, and The root partition and syslinux as a bootloader (it is simpler than the We will use Debian's own debootstrap to populate In this article we explain how to install a Debian GNU/Linux OS in a USB driveĪs if it was a hard disk. That is called a "live USB," and it can be used for recovery, as a We can install a full Linux distribution in a USB drive, and use it to boot a Updated : use Debian Stretch explicitly (already impliedīy kernel version) suggest testing with qemu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |