LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-02-2020, 05:43 PM   #1
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Blog Entries: 6

Rep: Reputation: Disabled
Angry How to properly mount Linux partitions on ZFS root of GhostBSD?


Using fstab method to mount Linux partitions gets the system not to boot at all somewhy
Given fstab is failed to boot for mounting Linux partitions, as to boot which tools else to mount Linux partitions properly?
Those Linux partitions were OK to be mounted with boot on my formerly UFS root of GhostBSD
And are okay to be mounted under chroot in GhostBSD’s live DVD’s too

Code:
procfs          /proc           	procfs          rw,late                 0 0
linprocfs       /compat/linux/proc      linprocfs       rw,late                 0 0
tmpfs           /compat/linux/dev/shm   tmpfs           rw,late,mode=1777       0 0
#
/dev/ada0p1     /boot/efi       msdosfs rw	0 2
/dev/ada0p4     none            swap    sw	0 2
/dev/ada0p7     /usr/src        ext2fs	rw,late	0 2
/dev/ada0p34    /usr/ports      ext2fs	rw,late	0 2
/dev/ada0p5     /home/XXXX      ext2fs  rw,late	0 2
/dev/ada0p36    /home/XXXX      ext2fs  rw,late	0 2
/dev/ada0p8     /var/cache      ext2fs  rw,late	0 2
#
tmpfs           /var/log                tmpfs           rw,mode=4777            0 0
tmpfs           /var/tmp                tmpfs           rw,mode=4777            0 0
tmpfs           /tmp                    tmpfs           rw,mode=4777            0 0
/var/log        /compat/linux/var/log   mullfs          rw,late,mode=4777       0 0
fdescfs         /dev/fd         	fdescfs         rw,late                 0 0
linsysfs        /compat/linux/sys       linsysfs        rw,late                 0 0
devfs           /compat/linux/dev       devfs           rw,late                 0 0
fdescfs         /compat/linux/dev/fd    fdescfs         rw,late,linrdlnk        0 0
/tmp            /compat/linux/tmp       nullfs          rw,late                 0 0
#
/dev/ada0p9     /usr/local/share/sddm                 ext2fs    rw,late    0 2
/dev/ada0p10    /usr/local/share/fonts                ext2fs    rw,late    0 2
/dev/ada0p11	/usr/local/share/icons                ext2fs    rw,late    0 2
/dev/ada0p12	/usr/local/share/plasma/desktoptheme  ext2fs    rw,late    0 2
/dev/ada0p13	/usr/local/share/plasma/look-and-feel ext2fs    rw,late    0 2
/dev/ada0p14	/usr/local/share/backgrounds          ext2fs    rw,late    0 2
/dev/ada0p15	/usr/local/share/wallpapers           ext2fs    rw,late    0 2
/dev/ada0p16	/usr/local/share/themes               ext2fs    rw,late    0 2
/dev/ada0p17	/usr/local/share/kf5                  ext2fs    rw,late    0 2
/dev/ada0p18	/usr/local/share/aurorae              ext2fs    rw,late    0 2
/dev/ada0p19	/usr/local/share/vlc                  ext2fs    rw,late    0 2
/dev/ada0p20	/usr/local/share/kxmlgui5             ext2fs    rw,late    0 2
/dev/ada0p21	/usr/local/share/color-schemes        ext2fs    rw,late    0 2
/dev/ada0p22	/opt/trinity/share                    ext2fs    rw,late    0 2
/dev/ada0p23	/usr/local/share/marble               ext2fs    rw,late    0 2
/dev/ada0p24	/usr/local/share/calligra             ext2fs    rw,late    0 2
/dev/ada0p25	/usr/local/share/krita                ext2fs    rw,late    0 2
/dev/ada0p26	/usr/local/share/scribus              ext2fs    rw,late    0 2
/dev/ada0p27	/usr/local/share/audacity             ext2fs    rw,late    0 2
/dev/ada0p28	/usr/local/share/mscore-3.5           ext2fs    rw,late    0 2
/dev/ada0p29	/usr/local/share/kdenlive             ext2fs    rw,late    0 2
/dev/ada0p30	/usr/local/share/ardour6              ext2fs    rw,late    0 2
/dev/ada0p31    /usr/local/share/obs                  ext2fs    rw,late    0 2
/dev/ada0p32	/usr/local/share/digikam	      ext2fs	rw,late    0 2
/dev/ada0p33	/usr/local/share/KVantum	      ext2fs	rw,late    0 2

Last edited by hd_scania; 12-02-2020 at 11:42 PM.
 
Old 12-03-2020, 11:12 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,687

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
fstab is ok as long as the lines are correct inside. The system cannot boot if the specified resources were unavailable.
 
Old 12-10-2020, 05:22 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The actual error message might have been useful?

As your ZFS root and other ZFS mounts are not handled by /etc/fstab anyway, I suggest that you remove any FreeBSD mounts from fstab and leave only the FreeBSD swap.

Perhaps I'm missing something, but I'm also unsure as to why you're mounting the efi partition there?

Then I suggest you go through the plethora of ext2fs mounts and through a process of elimination determine which one is causing the problem. The best way is to comment out the lot, then reintroduce one at a time - it's your problem to troubleshoot and you can't really expect a solution here, given that you've provided so little information to begin with.

Also: https://www.freebsd.org/doc/handbook...ems-linux.html

Note that read/write support for ext4 only appeared in FreeBSD 12.0-release.

GhostBSD rebased on TrueOS, then TrueOS was discontinued, so I'm unsure of the state of ext2fs in GhostBSD. You should ensure that the drive supports rw and if not, mount those partitions read only.

But be aware that regardless of the above:
Quote:
...while journalling and encryption are not
The FreeBSD ext2fs driver is a re-implementation, rather then the same code as the (GPL'd) original Linux driver, and has taken years to get to the state it's in now. If you simply want to share files between different OS, your method seems like a cumbersome means of achieving that. You could set up a shared partition using e.g. FAT32 for this purpose or setup some NFS shares.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BEWARE- Linux ZFS not compatible with Solaris ZFS kebabbert Linux - Software 5 12-02-2020 08:02 AM
LXer: GhostBSD 10.3 "Enoch" Officially Released with ZFS and UEFI Support, More LXer Syndicated Linux News 0 08-31-2016 10:54 PM
With zfs on linux, how do you save a file as xattr file under a normal zfs file? wzis Linux - Software 0 07-03-2015 12:45 PM
[SOLVED] Problem installing Arch system on a ZFS root: "ZFS: Cannot find bootfs." on boot. tajjada Linux - Software 4 12-25-2013 02:07 AM
ZFS Root / Boot into ZFS from a usb flash drive Kataku Solaris / OpenSolaris 1 07-15-2006 04:13 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration