User Tools


kernel:stali

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kernel:stali [2025/11/18 10:15] – [3.0] marlonivokernel:stali [2025/11/18 10:37] (current) – [3.0] marlonivo
Line 42: Line 42:
 mkfs.ext4 /dev/sda1 mkfs.ext4 /dev/sda1
 mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda2
-</code> 
- 
-Mount the disk partition 
-<code> 
-; sudo su 
-# mkdir /mnt/rootfs-x86_64 
-# mount /dev/sdX /mnt/rootfs-x86_64 
-</code> 
- 
-Clone rootfs-x86_64 
-<code> 
-# cd /mnt 
-# git clone http://git.sta.li/rootfs-x86_64 
-</code> 
- 
-Setup the system 
-<code> 
-# cd /mnt/rootfs-x86_64/etc 
-# # adjust rc.init/exit, etc. 
-</code> 
- 
-Prepare chroot 
-<code> 
-# mount -t proc proc /mnt/rootfs-x86_64/proc 
-# mount --rbind /sys /mnt/rootfs-x86_64/sys 
-# mount --rbind /dev /mnt/rootfs-x86_64/dev 
-# exit 
 </code> </code>
  
Line 89: Line 62:
 You can now see the exetubable kernel file under `/mnt/rootfs/boot/vmlinuz-6.6.3`. You can now see the exetubable kernel file under `/mnt/rootfs/boot/vmlinuz-6.6.3`.
  
-===== 3.0 =====+===== 2.0 =====
 ---- ----
  
Line 102: Line 75:
 APPEND root=/dev/sda1 rw APPEND root=/dev/sda1 rw
 EOF EOF
 +</code>
 +
 +===== 3.0 =====
 +Mount the disk partition
 <code> <code>
 +; sudo su
 +# mkdir /mnt/rootfs-x86_64
 +# mount /dev/sdX /mnt/rootfs-x86_64
 +</code>
 +
 +Clone rootfs-x86_64
 +<code>
 +# cd /mnt
 +# git clone http://git.sta.li/rootfs-x86_64
 +</code>
 +
 +Setup the system
 +<code>
 +# cd /mnt/rootfs-x86_64/etc
 +# # adjust rc.init/exit, etc.
 +</code>
 +
 +Prepare chroot
 +<code>
 +# mount -t proc proc /mnt/rootfs-x86_64/proc
 +# mount --rbind /sys /mnt/rootfs-x86_64/sys
 +# mount --rbind /dev /mnt/rootfs-x86_64/dev
 +</code>
  
 Syslinux-MBR schreiben Syslinux-MBR schreiben