[FreeVMS] Disk images
BERTRAND Joël
joel.bertrand at systella.fr
Lun 25 Juil 14:35:05 CEST 2005
On Fri, Jul 22, 2005 at 04:42:04PM +0200, Roar Thronæs wrote:
> On Thu, Jul 21, 2005 at 03:03:30PM +0200, BERTRAND Joël wrote:
> > On Thu, Jul 21, 2005 at 11:43:41AM +0200, Roar Thronæs wrote:
> > > On Wed, Jul 20, 2005 at 11:51:47AM +0200, BERTRAND Joël wrote:
> >
> > > > 2/ a.img contains a grub bootable disk. I think that the second
> > > >
> > > > "Error 24: Attempt to access block outside partition"
> > >
> > > I have got the same files as you have, and I can still boot.
> >
> > The files I have uploaded on the web page ?
>
> The same grub files as in a.img.
>
> > > There is no need for state1_5 files.
> > > Was the ODS-2 disk initialized?
> >
> > I have used createimage script (in freevms/diskimage):
> > ...
> > ../init/src/init /dev/loop0 SYSDISK 64260
> > ...
>
> Did you get any errors from createimage?
>
> > > Can you mount it?
> >
> > I don't know. The second partition is known as type 2a and seems to
> > be formatted. How can I mount this partition (ODS-2) under Linux ?
>
> You need to use the VFS ODS-2 code I mentioned some months back.
> (It is quicker than using mount and copy otherwise.)
I have tried to use it. I have built a um-linux 2.4.26 kernel with
the last OFS-2 VFS. I can boot um-linux with a Woody root image.
(none):/# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev binfmt_misc
ods2
ext2
nodev ramfs
iso9660
nodev nfs
nodev devpts
nodev hostfs
nodev humfs
nodev hppfs
(none):/#
Thus, the ODS-2 driver is available. But I cannot mount c.img (even
I use losetup -o 32901120 /dev/loop0 c.img and ./linux
ubd1=/dev/loop0. Any idea ?
Regards,
JKB
Plus d'informations sur la liste de diffusion FreeVMS