Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. No filesystem could mount root, tried: iso9660
  2. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
  3.  
  4. dd if=/dev/zero of=new-rootfs.img bs=1M count=512
  5. mkfs.ext4 -F -j new-rootfs.img
  6. <mounted and copied os from template host with rsync to /mnt>
  7. gzip -c new-rootfs.img | dd of=new-rootfs.gz
  8.  
  9. KERNEL vmlinuz0
  10. APPEND initrd=/images/centos-diskless/rootfs.gz root=/dev/ram0 init=/init noapic acpi=off devfs=nomount raid=noautodetect ramdisk_size=1048576 rw ip=dhcp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement