rootfs0 file not found (but clean two rows before), installing 21.11.24
-
- Posts: 6
- Joined: Tue Dec 28, 2021 10:07 am
rootfs0 file not found (but clean two rows before), installing 21.11.24
I successfully installed Ghostbd, after a swap problem i will report in another post, on a disk containing others two linux partitions.
I selected Advanced Partitioning on the installer and then i selected "auto" to let the installer automatically partitioning the free spaces on the disk.
I installed the boot bios loader.
I rebooted and then i added the following string to my existent grub configuration in /etc/grub.d/40_custom
menuentry "GhostBSD" {
insmod ufs2
insmod bsd
set root='hd0,msdos3'
kfreebsd /boot/loader
}
i can boot from Ghostbsd partition, but after the Ghostbsd welcome screen i am redirected to a recovery shell.
You can view the rootfs0 error 0 and the fdisk output from single user shell here:
https://justpaste.it/2rfej
Any suggestions?
Many Thanks
I selected Advanced Partitioning on the installer and then i selected "auto" to let the installer automatically partitioning the free spaces on the disk.
I installed the boot bios loader.
I rebooted and then i added the following string to my existent grub configuration in /etc/grub.d/40_custom
menuentry "GhostBSD" {
insmod ufs2
insmod bsd
set root='hd0,msdos3'
kfreebsd /boot/loader
}
i can boot from Ghostbsd partition, but after the Ghostbsd welcome screen i am redirected to a recovery shell.
You can view the rootfs0 error 0 and the fdisk output from single user shell here:
https://justpaste.it/2rfej
Any suggestions?
Many Thanks
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
Your grub2 setup looks wrong, but it looks like it is trying to boot the ISO from your screenshots.
So with insmod ufs2, I assume you did use UFS, but your grub is wrong.
Did you install GHostBSD on MBR or GPT?
What is your root(/) partition?
So with insmod ufs2, I assume you did use UFS, but your grub is wrong.
Did you install GHostBSD on MBR or GPT?
What is your root(/) partition?
-
- Posts: 6
- Joined: Tue Dec 28, 2021 10:07 am
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
The partiton table Is MBR
The filesystem use UFS+SUJ (default)
The Ghostbsd root Is on /dev/sda3 (for Linux) and /dev/ada0s03 (for Ghostbsd)
The filesystem use UFS+SUJ (default)
The Ghostbsd root Is on /dev/sda3 (for Linux) and /dev/ada0s03 (for Ghostbsd)
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
Your grub2 setting should look like this.
Code: Select all
menuentry "GhostBSD" {
set root=(hd0,3)
chainloader +1
}
-
- Posts: 6
- Joined: Tue Dec 28, 2021 10:07 am
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
@ericbsd Thanks, I followed your suggestion, but nothing changed. The error reported is the same.
I also tried to mount the bsd partitions from the live iso, with the same results, the swap partition is mounted without problem but the other throw the same error.
I also tried to mount the bsd partitions from the live iso, with the same results, the swap partition is mounted without problem but the other throw the same error.
Code: Select all
ghostbsd@livecd ~> sudo swapon /dev/ada0s3b
ghostbsd@livecd ~> swapinfo
Device 1K-blocks Used Avail Capacity
/dev/ada0s3b 8387584 0 8387584 0%
ghostbsd@livecd ~> mkdir tmp
ghostbsd@livecd ~> sudo mount /dev/ada0s3a tmp
mount: /dev/ada0s3a: No such file or directory
ghostbsd@livecd ~ [1]> ls /dev/ada0*
/dev/ada0 /dev/ada0s2 /dev/ada0s3a /dev/ada0s4
/dev/ada0s1 /dev/ada0s3 /dev/ada0s3b
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
You have to use sudo to mount partitions.
Looking at the boot on the screenshot, it looks wrong. I wonder if it has installed correctly.
Looking at the boot on the screenshot, it looks wrong. I wonder if it has installed correctly.
-
- Posts: 6
- Joined: Tue Dec 28, 2021 10:07 am
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
i used sudo, i reported a wrong portion of my commands, but also with sudo the output is the same.
anyway i run fsck on the partition and now i can mount it from the live iso.
now i will reboot and i will report if this fix the problem
anyway i run fsck on the partition and now i can mount it from the live iso.
Code: Select all
ghostbsd@livecd ~ [1]> sudo fsck /dev/ada0s3a
** /dev/ada0s3a
Journal inode removed. Use tunefs to re-create.
** Skipping journal, falling through to full fsck
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
232054 files, 1587405 used, 10614970 free (1242 frags, 1326716 blocks, 0.0% fragmentation)
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
Let me know how it goes.
If there is still a problem try the latest build https://www.ghostbsd.org/download#latest_builds.
If there is still a problem try the latest build https://www.ghostbsd.org/download#latest_builds.
-
- Posts: 6
- Joined: Tue Dec 28, 2021 10:07 am
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
Success... I'm wrighting from my brand new Ghostbsd home
I'm wondering what type of problem caused this error.
Many thanks ericbsd.
the last question: as i wrote at the beginning of the post i had a problem during installation for a 'out of swap space' error. I must report here on the forum or as github issue?
I'm wondering what type of problem caused this error.
Many thanks ericbsd.
the last question: as i wrote at the beginning of the post i had a problem during installation for a 'out of swap space' error. I must report here on the forum or as github issue?
Re: rootfs0 file not found (but clean two rows before), installing 21.11.24
How much ram your system has?