Red Hat Topics - Help with Fedora Core 4

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > January 2006 > Help with Fedora Core 4





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help with Fedora Core 4
Shel

2005-12-24, 5:50 pm

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



Jean-David Beyer

2005-12-24, 5:50 pm

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
Shel

2005-12-24, 5:50 pm


"Jean-David Beyer" <jdbeyer@exit109.com> wrote in message
news:11qrg4n9aeblj5e@corp.supernews.com...
> Shel wrote:
>
> 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.
> 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


Lenard

2005-12-24, 8:45 pm

Shel wrote:

<snip>

> 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
Sþer®Ð

2005-12-25, 2:46 am

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


Shel

2005-12-25, 5:46 pm


"Sþer®Ð" <sjoerd001@nomail.invalid> wrote in message
news:43ae16ac$1@localhost...
> Shel wrote:
>
> 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


Duane Evenson

2006-01-01, 7:46 am

Shel wrote:
> "Sþer®Ð" <sjoerd001@nomail.invalid> wrote in message
> news:43ae16ac$1@localhost...
>
>
>
> Shel
>
>

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






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com