[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Packaging a Debian System on RedHat (Partially Solved)



Thanks to everyone for their responses.

Looks like building the /dev tree was not the problem.
The ram size was the problem.

I kept reducing the size from 96MB in the dd command and it finally worked
at 16MB.

Worked:
=======
dd if=/dev/zero of=/dev1/dev/ram1 bs=1024 count=16000
16000+0 records in
16000+0 records out

dd if=/dev/zero of=/dev1/dev/ram1 bs=1024 count=16384
16384+0 records in
16384+0 records out

Fails if count is 16385 or greater:
=====================================
dd if=/dev/zero of=/dev1/dev/ram1 bs=1024 count=16385
dd: writing `/dev1/dev/ram1': No space left on device
16385+0 records in
16384+0 records out

Questions:
1. How can I check the ramsize?  (I am on RHEL 4)
2. How can I increase it to be 96MB?
3. Should I post this as a new thread?

Thanks!


On 1/9/07, Supriya Sriraman <sriraman supriya gmail com> wrote:

Dynamic detection and building of /dev tree will not work for me,
unfortunately!
This /dev tree is intended to be loaded on an embedded system that has
Debian.
I am building a debian linux system on RedHat (RHEL 4) and loading it on
the embedded box.

That is why I am trying to simulate the /dev tree that I will need on the
target Debian box.

Is there a way I can do this?
I made a /dev1/dev and created a tree. Will that work? The dd command
failed, so there must be something I am missing or doing wrong.

Thanks,
Supriya


 On 1/8/07, David Bear <David Bear asu edu> wrote:
>
> On Mon, Jan 08, 2007 at 02:04:40PM -0600, Supriya Sriraman wrote:
> > No, I am trying to build a debian devices tree that works for a
> embedded
> > system that has debian (version 2.4.16) on a RedHat machine . I have
> done
> > this on a debian machine before (that was simple, because it already
> had the
> > debian devices tree).
> >
> > For instance Redhat does not have:
> > /dev/hda
> > /dev/hda1
> > /dev/hda2
> > ....
> >
> > I tried something else a couple of days ago, which did not work
> either.
> > I made /dev1/dev to simulate /dev and created devices under there.
>
> I think you need to look at udev. There was a recent post about this.
> RedHat dynamically builds the /dev tree based on actual hardware
> detect rather than just having a tone of dev nodes precreated.
>
> this might help:
>
> http://www.redhat.com/magazine/002dec04/features/udev/
>
>
> >
> > But, now I this command fails:
> >
> > dd if=/dev/zero of=/dev1/dev/ram1 bs=1024 count=93750
> >
> > Error:
> >
> > dd: writing `/dev1/dev/ram1': No space left on device
> >
> > 16385+0 records in
> > 16384+0 records out
> >
> > $ df -h /dev
> > Filesystem            Size  Used Avail Use% Mounted on
> > -                     8.0G  152K  8.0G   1% /dev
> > $ df -h /dev1
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/mapper/VolGroup00-LogVol00
> >                       49G  6.4G    40G  14% /
> > $ df -k /dev
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > -                      8287176       152   8287024   1% /dev
> > $ df -k /dev1
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > /dev/mapper/VolGroup00-LogVol00
> >                      50412228   6664212  41187200  14% /
> > $ df -i /dev
> > Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> > -                     195044     246  194798    1% /dev
> > $ df -i /dev1
> > Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> > /dev/mapper/VolGroup00-LogVol00
> >                     6406144  182281 6223863    3% /
> > Is it because of dev1's filesystem, or where it is mounted?
> >
> > How can I create a debian devices tree?
> >
> > Thanks,
> > Supriya
> >
> > n 1/8/07, Rilindo Foster <webmaster monzell com> wrote:
> >
> > >I am not sure if I got your question right - do you want to implement
> > >apt-get on Red Hat OS?
> > >
> > >On Jan 8, 2007, at 12:10 PM, Supriya Sriraman wrote:
> > >
> > >> Hi,
> > >>
> > >> Does anyone know how I can package a debian system (/dev et cetera)
> on
> > >> RedHat OS?
> > >> I need to package for a system that is running embedded debian.
> > >>
> > >> If you don't know but know of a mailing list that addresses this,
> > >> please let
> > >> me know.
> > >>
> > >> Thanks!
> > >> Supriya
> > >> --
> > >> redhat-list mailing list
> > >> unsubscribe mailto:redhat-list-request redhat com
> ?subject=unsubscribe
> > >> https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > >--
> > >redhat-list mailing list
> > >unsubscribe mailto:redhat-list-request redhat com
> ?subject=unsubscribe
> > >https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > --
> > redhat-list mailing list
> > unsubscribe mailto: redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> David Bear
> phone:  602-496-0424
> fax:    602-496-0955
> College of Public Programs/ASU
> University Center Rm 622
> 411 N Central
> Phoenix, AZ 85007-0685
> "Beware the IP portfolio, everyone will be suspect of trespassing"
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]