Hello, I am unable to access the contents of my external hard drive containing the ext4 file system. Even after running ls, it still doesn't work.
Does anyone know what the error is? Thank.
Cannot access external hard drive
Re: Cannot access external hard drive
What version of GhostBSD are you using?
What does "sudo dmesg" output after plugging the drive in?
What does "sudo dmesg" output after plugging the drive in?
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: Cannot access external hard drive gpart status ; gpart show -lp
# What Operating System are you running? GhostBSD has an automounter running, FreeBSD has different setup and processes;
# dsbmc dsbmd are useful automounting tools for mounting disks. I used dsbmc to mount USB disk of a cellphone connected via usb cable for copying pictures from cellphone to computer using grsync tool.
uname -r ; uname -aK ; freebsd-version -kru ; ghostbsd-version -fkov
# checkout what disks are in the system
camcontrol devlist
geom disk list
gpart status
gpart show -lp
# verify what partitons got mounted
mount
df -h
ghostbsd has some "automount" commands that work behind the scene. Others can comment on using that tool.
# what xxxx.ko files kernel modules are loaded in your pc system
kldstat
I still think about googling " freebsd mount ext4" and read for answer there. Below is a pseudo example, with wrong settings. Google for better answers.
https://www.cyberciti.biz/faq/mounting- ... t-command/ NixCraft well rounded answer
mkdir -p /mnt/linux_ext4_part
mount -t ext2fs /dev/da0p2 /mnt/linux_ext4_part
https://docs.freebsd.org/en/books/handbook/filesystems/ Chapter 23.1 Other File Systems Updated 2024
https://spmzt.net/freebsd/mount/2023/04 ... mount.html Pouria's Blog April 2023 great examples, dsbmc-cli -m /dev/da0s1
https://man.freebsd.org/cgi/man.cgi?que ... ormat=html ext2fs Freebsd manual page
https://forums.freebsd.org/threads/howt ... ons.59520/ Older 2020 FreeBSD forum post with examples and some details. Do not enable journaling on Linux ext4 partition
# dsbmc dsbmd are useful automounting tools for mounting disks. I used dsbmc to mount USB disk of a cellphone connected via usb cable for copying pictures from cellphone to computer using grsync tool.
uname -r ; uname -aK ; freebsd-version -kru ; ghostbsd-version -fkov
# checkout what disks are in the system
camcontrol devlist
geom disk list
gpart status
gpart show -lp
# verify what partitons got mounted
mount
df -h
ghostbsd has some "automount" commands that work behind the scene. Others can comment on using that tool.
# what xxxx.ko files kernel modules are loaded in your pc system
kldstat
I still think about googling " freebsd mount ext4" and read for answer there. Below is a pseudo example, with wrong settings. Google for better answers.
https://www.cyberciti.biz/faq/mounting- ... t-command/ NixCraft well rounded answer
mkdir -p /mnt/linux_ext4_part
mount -t ext2fs /dev/da0p2 /mnt/linux_ext4_part
https://docs.freebsd.org/en/books/handbook/filesystems/ Chapter 23.1 Other File Systems Updated 2024
https://spmzt.net/freebsd/mount/2023/04 ... mount.html Pouria's Blog April 2023 great examples, dsbmc-cli -m /dev/da0s1
https://man.freebsd.org/cgi/man.cgi?que ... ormat=html ext2fs Freebsd manual page
https://forums.freebsd.org/threads/howt ... ons.59520/ Older 2020 FreeBSD forum post with examples and some details. Do not enable journaling on Linux ext4 partition