On January 10, 2020, at 02:26, Furkan İnciroğlu
<[email protected]> wrote:
>
>
>Hi there,
>
>The problem definition:
>
>Was booting my LFS OS in one physical machine but I faced "Root File System
>Does Not Exist"
>
>I have a serious problem. I completed my LFS&BLFS in Virtualbox. Everything
>was working fine. I exported my lfs disk as a raw image(.img) file and I
>restored it again to check the disk was working well.
>
>First, I opened physical device with Ubuntu 18.04 live cd and I created ext4
>file disk in my physical device.I used these commands; fdisk /dev/mmcblk0 && n
>&& w && mkfs.ext /dev/mmcblk0p1
>
>I put the lfs.img file into USB disk. I mounted USB into my physical server
>which is brand Nexcom DTA 1160. After mounting USB, I used DD command to clone
>lfs.img for whole physical device disk. dd if=lfs.img of=/dev/mmcblk0 bs=64M
>conv=sync
>
>And then I mounted mmcblk0 to /mnt directory and I used mount --bind command
>for dev,sys and proc directory. After mount --bind, I used chroot /mnt command
>into the directory and grub-install /dev/mmcblk0 command. Finally, I changed
>fstab file and I add /dev/mmcblk0p1 / ext4 defaults 1 1
>
>line and also I changed grub.cfg like this:
>
>linux /boot/vmlinuz-4.20.12-lfs root=/dev/mmcblk0p1 ro console=tty0
>console=ttyS0,115200n8
>
>initrd /boot/initrd.img-4.20.12
>
>I reboot the computer and after grub screen I faced this error:
>
>The device /dev/mmcblk0p1, which is supposed to contain the root file system,
>does not exist.
>
>Could you help me solve this problem? Thank you so much.
>
How is BIOS reporting the disk? In addition, what does GRUB see? If the
computer reads the drive as anything but what was used in the boot line, then
everything will fail, and hard as you've seen.
You may also want to check the drivers built into the kernel, and make sure the
drive you're using is in there.
Flareon Zulu
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style