|
03/02/2009 4:57 PM
post23284
|
> -----Original Message-----
> From: Catherine Bouchard [mailto:community-noreply@qnx.com]
> Sent: March-02-09 4:32 PM
> To: general-filesystems
> Subject: hd0t12
>
> Hi,
> I have a QNX and I have created a second partition (FAT32).
> I want a second partition to run Windows XP.
>
> With the commands:
>
> fdisk /dev/hd0 add -b -t 12 -p 50
> mount -e /dev/hd0
> dinit -h /dev/hd0t12
Can't do that because dinit create a QNX filesystem, yet it's a FAT32 partition. Windows wouldn't be able to access it.
> mount /dev/hd0t12 /
>
> With theses commands, the hard disk seems to have the partition that I
> need. I took a look on that with the command:
> fdisk /dev/hd0 show
> fdisk /dev/hd0t12 show
>
> But, when I reboot the machine and try to boot on the partition 2,
> after the lines
You would need to put a valid .boot file on that partition, but it's a FAT32 filesystem, although I guess it's doable
you can't really expect QNX to boot from it.
> "Pres ESC to
> .alboot................................................................
> .......................................................................
> .................................................................
> .......................................................................
> .......................................................................
> .......................................................................
> ...................
> .......................................................................
> .......................................................................
> .......................................................................
> ...................
> nothing happen.
>
> When I boot on the partition 1, the machine boot but is not able
> to mount the fs-dos.so on hd0t12(corrupted system file detected).
QNX detected the type and assume it's FAT32 but you formatted it ( dinit) with a QNX filesystem. That doesn't compute
> I have already use the chkfsys command to verify the file.
Chkfsys works for QNX filesystem.
>
> What can I do to repair the file?
The file is not damaged
> Or what I did wrong?
You assumed partition type is all that was need to make it compatible but forgot about the importance of the filesystem.
> Thank's
> ________________________
> C. Bouchard
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post23281
|
|
|
|
|
|
03/02/2009 5:06 PM
post23286
|
> -----Original Message-----
> From: Catherine Bouchard [mailto:community-noreply@qnx.com]
> Sent: March 2, 2009 4:32 PM
> To: general-filesystems
> Subject: hd0t12
>
> Hi,
> I have a QNX and I have created a second partition (FAT32).
> I want a second partition to run Windows XP.
>
> With the commands:
>
> fdisk /dev/hd0 add -b -t 12 -p 50
> mount -e /dev/hd0
Since you want a FAT32 filesystem, in order to run Windows, the next line should be
mkdosfs -F32 /dev/hd0t12
Which will give you a FAT32 filesystem in the new type 12 partition.
>
> With theses commands, the hard disk seems to have the
> partition that I need. I took a look on that with the command:
> fdisk /dev/hd0 show
> fdisk /dev/hd0t12 show
The partition type is right, but the contents of the partition are QNX4 file system(if you use the dinit program).
Using mkdosfs, you'll get the FAT32 that you expect.
>
> But, when I reboot the machine and try to boot on the
> partition 2, after the lines "Pres ESC to
> .alboot.......................................................
> ..............................................................
> ..............................................................
> .....................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................
> nothing happen.
>
> When I boot on the partition 1, the machine boot but is not
> able to mount the fs-dos.so on hd0t12(corrupted system file detected).
> I have already use the chkfsys command to verify the file.
>
> What can I do to repair the file? Or what I did wrong?
> Thank's
> ________________________
> C. Bouchard
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post23281
>
|
|
|
|
|