You are not logged in.

#1 2012-04-15 16:43:02

Fighter19
Member
Registered: 2012-04-15
Posts: 12

Adding NTFS support to initrd.img?

I'm trying to boot Archlinux from a virtual file located on /dev/sda5 wich is formatted as ntfs (works with an Ubuntu Kernel&Ubuntu initrd.img but I think, that isn't the best way to keep the system up-to-date).
So I've run into trouble while booting. It was something about fsck.ntfs is missing. Then I tried to add fsck.ntfs as a link to ntfsfix into the initrd-linux.img. Now I get mount: Operation not permitted or something like that and in addition it says I would need to be root. And since I'm still a noob to Kernel things, I would need some help to fix this ^^. I tried to Google, but I didn't found anything.

Offline

#2 2012-04-15 22:05:02

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,949

Re: Adding NTFS support to initrd.img?

Possibly the recently added mkinitcpio fsck hook is causing this, is either your root or /usr partition on NTFS ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2012-04-15 22:06:27

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Adding NTFS support to initrd.img?

mkinitcpio doesn't have support for booting off of a filesystem on a loopback. The error about fsck.ntfs missing is irrelevant.

Last edited by falconindy (2012-04-15 22:07:26)

Offline

#4 2012-04-16 13:16:16

Fighter19
Member
Registered: 2012-04-15
Posts: 12

Re: Adding NTFS support to initrd.img?

Oh... Thats the problem ^^. So theres no way to mount a loopback fs with mkinitcpio yet? thx for the help wink
EDIT: Or maybe add the support manually.
EDIT2: Or building a custom kernel with the loop module integrated.... that's what I'm going to try right now wink
EDIT3: Hmmm... seems to doesn't work... Still no /dev/loop0
EDIT4: Got it working with some scripts and big customization from here http://code.google.com/p/archlive/wiki/BootArchFromLoop!! big_smile

Last edited by Fighter19 (2012-04-18 14:24:22)

Offline

Board footer

Powered by FluxBB