New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto mount.ntfs read-only when boot grml.iso which store on a ntfs partition #206
Comments
Nice find, thanks! Would it be possible that you boot the system when it's failing with added |
I got journal.txt as freedesktop.org said
There is such:
it should be /dev/sda1, ntfs partition. |
Thanks, that's also good to have! But with |
Okay, I got There is
If I run
|
Thanks, yeah the log says that all relevant mounts take place in r/o mode, this is what I expected also from the code perspective, so that's definitely interesting what's going on here. :) You could try booting with an additional |
Hi, mika, thanks for your guidance. a. Windows -> restart, b. Windows -> shutdow, Not sure why Windows restart / shutdown will result grml livecd reboot success or not. |
grml is useful for testing software installation. My PC just have one MBR partition and installed Windows 10 22H2. I am going to use grub-2.12-for-windows to load my grml.iso which stored as /dev/sda1/iso/grml.iso. My grub.cfg menuentry as:
grml booted success. But when I tried to run reboot or poweroff command, sometimes it not working, Crtl + Alt + Del not working too, have to press reset or power physics buttom . I saw some information on monitor:
Then I tried searched on Internel, as https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 said, I can reboot or poweroff with --force option. I tried to enable systemd debug. There are some information on monitor after reboot or poweroff, such as:
I tried to do the same testing, but stored grml.iso on a USB stick(same PC) or a ext4 partition(another PC), reboot or poweroff success. So I listed grml mount device to compare:
a. grml.iso on a ntfs partition:
b. grml.iso on a vfat pariton:
c. grml.iso on a ext4 pariton:
So, reboot/poweroff issue maybe happen when mount ntfs partition as read-write. I tried to find more information, about ntfs-3g, like this https://github.com/tuxera/ntfs-3g/wiki/NTFS-3G-FAQ .
powercfg /h off
looks like not working here. I do more testing.a. when from Windows do restart action , ntfs-3g will consider /dev/sda1 is a clean file system, so grml auto mount it as read-write, then issues happen.
b. when from Windows do shutdown action, ntfs-3g will consider /dev/sda1 is a unclean file system, so grml mount it as read-only, then no problem
If I added
toram=grml.squashfs
ortoram
as kernel parameters as https://wiki.grml.org/doku.php?id=rescueboot said, grml will not auto mount /dev/sda1, so no problemDescribe the solution you'd like
Auto mount.ntfs partition as read-only, no matter is clean filesystem or not.
Describe alternatives you've considered
--force
optiontoram=grml.squashfs
kernel parameters to bootDisk usage of the software
I created debian 12 stable iso using grml64-full,
grml-live -s stable -c GRMLBASE,GRML_SMALL,AMD64 -o /srv/grml-live
The text was updated successfully, but these errors were encountered: