[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: need XFS in anaconda (i.e. mounting XFS while installing(
- From: HARA Hiroshi <hhara miraclelinux com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: need XFS in anaconda (i.e. mounting XFS while installing(
- Date: Mon, 02 Jul 2007 19:22:57 +0900
Hi,
first of all,
How about checking xfs module is loaded or not?
If modules.cgz in CD have xfs module, loader.c seems to
try to insmod it.
loader.c
----------------
mlLoadModuleSet("md:raid0:raid1:raid5:raid6:raid456:raid10:fat:msdos:jbd:lock_nolock:gfs2:reiserfs:jfs:xfs:dm-mod:dm-zero:dm-mirror:d
m-snapshot:dm-multipath:dm-round-robin:dm-emc", modLoaded, modDeps,
modInfo);
----------------
1. boot up with your anaconda
2. change to shell (Ctl-Alt-F2)
3. lsmod | grep xfs
4. fdisk /dev/sda
5. make partition
6. mkfs.xfs -f /dev/sdaX
thanks,
Parimal Sardar wrote:
> Hi Hara ,
>
> thanks a lot for ur quick reply.
> Are there xfs.ko in your modules.cgz ?
> yes,
> Do i need to ldconfig or .. something like that
>
> & I think , I have make changes in isys.py
> ---------
> 36 def pathSpaceAvailable(path, fsystem = "ext2"):
> 37 return _isys.devSpaceFree(path)
> 38
> 39 def spaceAvailable(device, fsystem = "ext2"):
> 40 mount(device, "/mnt/space", fstype = fsystem)
> 41 space = _isys.devSpaceFree("/mnt/space/.")
> 42 umount("/mnt/space")
> 43 return space
>
> 169 def mount(device, location, fstype = "ext2", readOnly = 0, bindMount
> = 0, remount = 0):
> 170 location = os.path.normpath(location)
> 171
>
> 188 log("isys.py:mount()- going to mount %s on %s" %(device, location))
> 189 rc = _isys.mount(fstype, device, location, readOnly,
> bindMount, remount)
> 190
> 191 if not rc:
> 192 mountCount[location] = 1
> 193
>
> 200 def umount(what, removeDir = 1):
> 201 what = os.path.normpath(what)
> 202
> 203 if not os.path.isdir (what):
> 204 raise ValueError, "isys.umount() can only umount by
> mount point"
> 205
> 206 if mountCount.has_key(what) and mountCount[what] > 1:
> 207 mountCount[what] = mountCount[what] - 1
> 208 return
> 209
> 210 rc = _isys.umount(what)
> 211
>
> thank & regard
> parimal
>
>
> On 7/2/07, *HARA Hiroshi* <hhara miraclelinux com
> <mailto:hhara miraclelinux com>> wrote:
>
> Hi,
>
> Are there xfs.ko in your modules.cgz ?
>
>
> Parimal Sardar wrote:
> > Hi
> >
> > I am trying to integrate XFS,JFS,ReiserFS2 in anconada ;
> > while install getting error "failed to insert modules xfs" ,but I am
> > able to make partitions & format it too without any error.
> > I want to mount XFS,JFS,Reiserfs while installing only.
> >
> > regards
> > Parimal
> >
> >
> >
> ------------------------------------------------------------------------
>
> >
> > _______________________________________________
> > Anaconda-devel-list mailing list
> > Anaconda-devel-list redhat com
> <mailto:Anaconda-devel-list redhat com>
> > https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com <mailto:Anaconda-devel-list redhat com>
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]