Help with Fedora Core 4 - Redhat

This is a discussion on Help with Fedora Core 4 - Redhat ; Two problems; 1. How to create a boot floppy. Using "mkbootdisk /dev/fd0 `uname -r ` " I get a 'permission denied' message. 2. What happened to the "tree" command in FC4? It doesn't even show up in the man pages. ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Help with Fedora Core 4

  1. Help with Fedora Core 4

    Two problems;
    1. How to create a boot floppy. Using "mkbootdisk /dev/fd0 `uname -r ` " I
    get a 'permission denied' message.

    2. What happened to the "tree" command in FC4? It doesn't even show up in
    the man pages.

    Shel Sherman




  2. Re: Help with Fedora Core 4

    Shel wrote:
    > Two problems;
    > 1. How to create a boot floppy. Using "mkbootdisk /dev/fd0 `uname -r ` " I
    > get a 'permission denied' message.


    To be sure, one needs to know exactly what the permission denied message
    was. My guess is that you were not root, and mkbootdisk may need permission
    to format it.

    BTW: most recent kernels (2.4 an up) are too large to make a boot disk on a
    floppy anymore: 1440 kilobytes for most. I can use one larger size, but that
    is not enough either, so I have mkbootdisk make an iso image that I write to
    a CD-RW disk.

    Here is mine. This is from a 2.4 kernel, 2.4.21-37.ELsmp

    # ls -lR /media/cdrom/
    /media/cdrom/:
    total 3
    drwxr-x--- 2 root root 2048 Oct 17 12:26 isolinux
    -r--r--r-- 1 root root 220 Oct 17 12:26 TRANS.TBL

    /media/cdrom/isolinux:
    total 1667
    -r--r--r-- 1 root root 2048 Oct 17 12:26 boot.cat
    -rw-r----- 1 root root 203 Oct 17 12:26 boot.msg
    -rw-r----- 1 root root 327816 Sep 29 06:26 initrd.img
    -rw-r----- 1 root root 9428 Oct 17 12:26 isolinux.bin
    -rw-r--r-- 1 root root 125 Oct 17 12:26 isolinux.cfg
    -r--r--r-- 1 root root 1329 Oct 17 12:26 TRANS.TBL
    -rw-r--r-- 1 root root 1363903 Sep 7 13:34 vmlinuz

    And remember it takes more disk space than you see because the blocks are
    rounded up to the nearest 1024 bytes, there must be room for i-nodes, and so on.
    >
    > 2. What happened to the "tree" command in FC4? It doesn't even show up in
    > the man pages.
    >

    Do you, perhaps, mean one of these?
    /usr/bin/pstree
    /usr/bin/mdeltree
    /usr/bin/smbtree


    --
    .~. Jean-David Beyer Registered Linux User 85642.
    /V\ PGP-Key: 9A2FC99A Registered Machine 241939.
    /( )\ Shrewsbury, New Jersey http://counter.li.org
    ^^-^^ 16:30:00 up 28 days, 3:02, 4 users, load average: 4.20, 4.14, 4.04

  3. Re: Help with Fedora Core 4


    "Jean-David Beyer" wrote in message
    news:11qrg4n9aeblj5e@corp.supernews.com...
    > Shel wrote:
    >> Two problems;
    >> 1. How to create a boot floppy. Using "mkbootdisk /dev/fd0 `uname -r ` "
    >> I
    >> get a 'permission denied' message.

    >
    > To be sure, one needs to know exactly what the permission denied message
    > was. My guess is that you were not root, and mkbootdisk may need
    > permission
    > to format it.
    >
    > BTW: most recent kernels (2.4 an up) are too large to make a boot disk on
    > a
    > floppy anymore: 1440 kilobytes for most. I can use one larger size, but
    > that
    > is not enough either, so I have mkbootdisk make an iso image that I write
    > to
    > a CD-RW disk.
    >
    > Here is mine. This is from a 2.4 kernel, 2.4.21-37.ELsmp
    >
    > # ls -lR /media/cdrom/
    > /media/cdrom/:
    > total 3
    > drwxr-x--- 2 root root 2048 Oct 17 12:26 isolinux
    > -r--r--r-- 1 root root 220 Oct 17 12:26 TRANS.TBL
    >
    > /media/cdrom/isolinux:
    > total 1667
    > -r--r--r-- 1 root root 2048 Oct 17 12:26 boot.cat
    > -rw-r----- 1 root root 203 Oct 17 12:26 boot.msg
    > -rw-r----- 1 root root 327816 Sep 29 06:26 initrd.img
    > -rw-r----- 1 root root 9428 Oct 17 12:26 isolinux.bin
    > -rw-r--r-- 1 root root 125 Oct 17 12:26 isolinux.cfg
    > -r--r--r-- 1 root root 1329 Oct 17 12:26 TRANS.TBL
    > -rw-r--r-- 1 root root 1363903 Sep 7 13:34 vmlinuz
    >
    > And remember it takes more disk space than you see because the blocks are
    > rounded up to the nearest 1024 bytes, there must be room for i-nodes, and
    > so on.
    >>
    >> 2. What happened to the "tree" command in FC4? It doesn't even show up in
    >> the man pages.
    >>

    > Do you, perhaps, mean one of these?
    > /usr/bin/pstree
    > /usr/bin/mdeltree
    > /usr/bin/smbtree
    >
    >
    > --
    > .~. Jean-David Beyer Registered Linux User 85642.
    > /V\ PGP-Key: 9A2FC99A Registered Machine 241939.
    > /( )\ Shrewsbury, New Jersey http://counter.li.org
    > ^^-^^ 16:30:00 up 28 days, 3:02, 4 users, load average: 4.20, 4.14, 4.04


    Unfortunately I was root when I got the permission denied message. I will
    try creating a boot cd, and I suspect that the permission denied message may
    be due, as you suggest, that the boot routine cannot fit on a single floppy.

    The tree command is a standard unix command and worked fine in 7.3. The
    other commands you listed are for other purposes than the simple 'tree'
    command.

    Thanks for the reply. I'm off to make a (hopefully) bootable cd.

    Shel Sherman



  4. Re: Help with Fedora Core 4

    Shel wrote:



    > The tree command is a standard unix command and worked fine in 7.3. The
    > other commands you listed are for other purposes than the simple 'tree'
    > command.


    Sorry, you need to build your own from; tree-1.4b3-3.src.rpm
    Visit; http://rpm.pbone.net/
    See the manpage for rpmbuild for the building of the binary image.


    > Thanks for the reply. I'm off to make a (hopefully) bootable cd.


    To create the image; /sbin/mkbootdisk --device bootcd.img `uname -r` --iso


    --
    "A personal computer is called a personal computer because it's yours,
    Anything that runs on that computer, you should have control over."
    Andrew Moss, Microsoft's senior director of technical policy, 2005

  5. Re: Help with Fedora Core 4

    Shel wrote:
    > 2. What happened to the "tree" command in FC4? It doesn't even show
    > up in the man pages.
    >
    > Shel Sherman


    get the source from:

    ftp://mama.indstate.edu/linux/tree/

    or do a yum install:

    yum install tree



  6. Re: Help with Fedora Core 4


    "Ser" wrote in message
    news:43ae16ac$1@localhost...
    > Shel wrote:
    >> 2. What happened to the "tree" command in FC4? It doesn't even show
    >> up in the man pages.
    >>
    >> Shel Sherman

    >
    > get the source from:
    >
    > ftp://mama.indstate.edu/linux/tree/
    >
    > or do a yum install:
    >
    > yum install tree
    >
    >GREAT. That did it. Thanks a bunch.


    Shel



  7. Re: Help with Fedora Core 4

    Shel wrote:
    > "Ser" wrote in message
    > news:43ae16ac$1@localhost...
    >
    >>Shel wrote:
    >>
    >>>2. What happened to the "tree" command in FC4? It doesn't even show
    >>>up in the man pages.
    >>>
    >>>Shel Sherman

    >>
    >>get the source from:
    >>
    >>ftp://mama.indstate.edu/linux/tree/
    >>
    >>or do a yum install:
    >>
    >>yum install tree
    >>
    >>GREAT. That did it. Thanks a bunch.

    >
    >
    > Shel
    >
    >

    RH Fedora 4 contains tree-1.5.0-3.i386.rpm.

+ Reply to Thread