WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dCore and Grub4DOS on a NTFS partition...  (Read 7688 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #15 on: July 29, 2016, 07:08:02 AM »
sbaguz - what you see is an output from a startup script in ntfs-3g or it's deps, nothing has been altered there and is harmless or the startup script needs to be adjusted but it would not affect boot.  Output is quieted now in the latest RC in tce-setup as it is in sce-load.  How is the ntfs-3g recognition during boot now?

If you have no persistence, you would boot to a command line and not X if ntfs-3g is the only .gz loaded at boot.   My setup with Xprogs updates, installs, and boots as expected.

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #16 on: July 29, 2016, 07:24:02 AM »
@Curaga: thanks for the hint.

@Jason: I have been able to update Xprogs (getting the persistence by extracting with cpio the stable release initrd and manually putting /bin/ntfs-3g as path in rebuildfstab), but booting again with the latest RC brought what you can find in the attachment and no extensions...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #17 on: July 29, 2016, 08:33:35 AM »
sbaguz - Are you sure you are getting persistence or a mounted filesystem, is it /dev/sda2?  It appears ntfs-3g is not working when only /bin/ntfs-3g is simply copied over, it needs to be imported with sce-import and the resulting ntfs-3g.sce converted to ntfs-3g.gz and specified at the boot command line or placed in /tmp/builtin in the main dCore-*.gz initrd.

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #18 on: July 29, 2016, 08:41:28 AM »
Hi Jason,

yes, I'm sure about getting persistence (I made some changes, e.g. a new wallpaper, I found again rebooting), about having tce in /dev/sda2 and about having ntfs-3g working through the ntfs-3g.gz, all of this when I use the dCore-jessie.gz I built simply replacing the path /usr/sbin/ntfs-3g with /bin/ntfs-3g in rebuildfstab...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #19 on: July 29, 2016, 09:21:22 AM »
Ok.  The latest dCore-jessie.gz has the rebuildfstab fix in it, please test if you are not running it now, thanks.

EDIT:  Oh, I misread, you manually put /bin/ntfs-3g in rebuildfstab and not put the file itself, I see.   I will make a TCE directory on ntfs tonight and test booting with dCore-jessie and a created ntfs-3g.gz. 
« Last Edit: July 29, 2016, 10:23:52 AM by Jason W »

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #20 on: July 29, 2016, 10:41:41 AM »
Yes, that's what I did.  ;)

Anyway, unfortunately also the current version of dCore-jessie Release Candidate doesn't work... (see in the attachments the new error messages compared to what happens with my dCore-jessie.gz).
Hoping this can help here is my dCore-jessie.gz: https://drive.google.com/open?id=0Bzl-sqJAJBBqLUtCb2YtNVk0V1U and my ntfs-3g-gz: https://drive.google.com/open?id=0Bzl-sqJAJBBqODk0Rk40M2RnQ2c.

Bye

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #21 on: July 29, 2016, 02:14:23 PM »
So from what I understand the dCore-jessie release from 7/16/2016 works with the only change being the rebuildfstab edit, while the current one does not?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #22 on: July 29, 2016, 09:31:22 PM »
Ok, I have added ntfs-3g and fuseblk to sce-import as the types that require the -r option with sce-import or needing to specify RAM=TRUE in /etc/sysconfig/sceconfig, or else it exits.  That is probably why your SCEs are not working as any Windows filesystem does not properly support Unix permissions and the TCE directory are where the packages are unpacked by default to be repacked into an SCE.  I also corrected permissions of files created in /tmp with tce-setup.

Please test the latest RC, starting your SCE directory from scratch and re-import your SCEs.  Thanks.  I have a dCore-jessie install working well with an ntfs-3g TCE directory now when using an ntfs-3g.gz initrd specified at the boot prompt to install the needed ntfs-3g files.

EDIT:  I see an issue that the ntfs-3g startup scripts needs to handle that likely caused the issue you were seeing.   Will get to tonight.
« Last Edit: July 30, 2016, 07:04:13 AM by Jason W »

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #23 on: July 30, 2016, 09:46:33 AM »
Yes, I confirm dCore-jessie release from16/07/2016 works fine with the only change being the rebuildfstab edit.

All my packages were already imported with the -r option.
Anyway I will wait for your new update of tonight before doing any further test...  :)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore and Grub4DOS on a NTFS partition...
« Reply #24 on: July 31, 2016, 12:21:53 AM »
I did see a "$USER":staff perms of the ntfs-3g files on a previous session which is surely the cause of your issue, but upon a current import of ntfs-3g and a conversion of it to .gz via sce2gz I have only seen the preservation of the root:root perms of the ntfs-3g files across many reboots of 2 dCore ports and with the ntfs-3g.gz in both /tmp/builtin and when speficied by the boot command line.  I have updated sce2gz, as well as the dCore images to better support the .gz files.  Please re-import ntfs-3g and convert to .gz with an updated sce2gz, and test with the latest dCore RC.  Thanks.

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
[SOLVED] dCore and Grub4DOS on a NTFS partition...
« Reply #25 on: August 01, 2016, 05:56:54 AM »
SUCCESS!  :D
The latest versions of dCore-jessie.gz and sce2gz you uploaded solved any issue.
Thanks for your support.
« Last Edit: August 01, 2016, 06:05:37 AM by sbaguz »