DD Rules
by Karl Larsen
If you want to copy something big from one partition to another the
old dd method is for you. You have to do it right. This means that:
1. The destination partition MUST be at least a byte larger than the
source partition where the data is coming from. This is essential!
2. The dd copies everything including the file system.
3. Be ready to check the file system of the copy with fsck.
4. If you are making a copy of an entire working Fedora system make sure
you change all the entries in /etc/grub.conf and /etc/fstab files to the
new partitions of the copy before you try to run it.
5. To copy a partition from the source, called /dev/source to a
destination partition called /dev/destination use the standard dd form:
# dd if=/dev/source of=/dev/destination
6. Always run dd in the source computer.
7. Take your time doing all this. It will save you problems later. There
are a lot of ways to make errors.
8. Think of how dd works this way, dd see's the source partition as just
a pile of bytes. It takes a few bytes each cycle and puts those bytes on
the destination partition. When done dd reports how many bytes it found
and how many it put on destination. They are the same large number.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
16 years, 7 months
SELinux survey (was RE: Stupid F7 boot loop)
by Andrew Kelly
On Wed, 2007-08-29 at 16:04 +0100, Jonathan Allen wrote:
> On Wed, Aug 29, 2007 at 09:41:19AM -0500, Mikkel L. Ellertson wrote:
> > From there you can deside if you want to disable selinux, or relabel
> > the system so selinux works correctly.
>
> How is that (easily) done - I haev to admit that now it is running
> disabled, I'm very much tempted to leave it that way rather then
> mess about "in flight" so to speak. Presumably I'll save a little
> mill time at a fairly minimal risk on a secure system ...
>
> Jonathan
>
>
Forgive the invitation to discussion, but....
I personally have immediately disabled SELinux on any and every box I've
ever installed for myself, and grind my teeth any time I even see the
word.
Would any of you out there care to share with me any of your personal
experiences with SELinux being useful to you (in any way whatsoever), on
a single-user workstation?
I'm quite willing to admit my ig'nerz on the subject and am open to
being taught why the functionality is a Good Thing (tm).
Andy
16 years, 7 months
Cannot write to SD card
by Dotan Cohen
I have a 2 GB Sandisk SD card that I often write to. Just today, it
has started to be mounted read-only:
cp: cannot create regular file `bg.jpg2': Read-only file system
The read-write switch on the side of the card is set to write, and
I've never had trouble with it before. So I figured that I'll be smart
and man mount, in where I discovered the -w flag, but I get this
error:
[root@localhost ~]# mount -w /media/disk
mount: /dev/sda1 already mounted or /media/disk busy
mount: according to mtab, /dev/sda1 is already mounted on /media/disk
So I tried unmounting it, but the device seems to be busy:
[root@localhost ~]# umount /media/disk
umount: /media/disk: device is busy
umount: /media/disk: device is busy
There are no open konqueror windows, or anything else that might be
accessing the card, so far as I can tell. What must one do to either:
1) determine what is accessing the disk
or
2) Force umount anyway
Thanks in advance.
Dotan Cohen
http://lyricslist.com/
http://what-is-what.com/
16 years, 7 months
DD not working
by Karl Larsen
I have been trying to use the F7 that I copied to the new Hard Drive
but instead I'm getting very strange results. With just the new Hard
Drive mounted I set up Grub and changed grub.conf so the proper root was
showing. But it would not boot and the error was file system not good.
So DD copy must have ruined the file system I put on.
So back to the Old Hard Drive and it has some weird stuff going. I
wanted to fix the /dev/sdb5 file system and here is what happend:
[root@k5di ~]# fsck /dev/sdb5
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
/dev/sdb5 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
f7: recovering journal
f7: clean, 174545/10246368 files, 3132553/10239421 blocks
[root@k5di ~]# mount -t ext2 /dev/sdb5 /mnt
mount: /dev/sdb5 already mounted or /mnt busy
The last 2 lines say that /dev/sdb5 is mounted to this Old Hard Drive
somehow. I did not do this. /etc/fsack did not do this. So not sure what
is going on. And last the /etc/grub.conf has been changed by something
to the wrong on this computer. Weird!
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
16 years, 7 months
vaio's screen brightness
by Andre Kirchner
Hi all,
I have just installed Fedora Core 6 in a Vaio laptop,
and everything is fine except for the screen's
brightness, which is too dark.
Does anyone know how do I adjust it, or where can I
find more information about it?
Thanks,
Andre
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
16 years, 7 months
Fedora 7 - features and obvious usability enhancements
by Valent Turkovic
Hello,
first I would like to ask where is the proper place to suggest new
features and obvious usability enhancements for fedora.
Is there a mailing list or some group of people or someone specific I
have to target in order for some really much needed features to be
included in fedora releases?
First one I see as a really great usability add on to fedora is
Deskbar gnome plugin. It is in the repositories, but it is not
installed by default and it is not enabled by default. I think that
this is a great shame. All new users (and also old ones) would benefit
a lot from just including this great widget in default desktop setup
for Fedora 7 .
Ok, I won't go too much long here if this isn't proper way of getting
attention to the right people. I don't mean that you aren't proper or
not important but I just don't know if this mailing list is the right
way for discussing usability and features. Please tell me if it is and
then I'll continue if not point me in the right direction.
Thank you all for your time and attention.
Valent from Croatia.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 7 months
F7 installer running very, very slowly
by Langdon Stevenson
Hi
I am running an F7 install on a Dell PowerEdge 2300 (another one -
previous one that caused me problems is running fine).
Machine boots up fine, but when the F7 Rescue CD boots up everything
goes into slow motion. This happens right from the word go. For
instance the initial graphical screen to select the type of install
takes about 20 seconds to paint, keyboard response is slow as well.
This is the same throughout the install, both graphical and
non-graphical. I expect that the installer would complete in due
course, but haven't had the patience to see it any further through than
selecting hard drives.
I have had a look at "top" through a console during the install and it
reports that there is plenty of RAM available, and no processes hogging
the dual CPUs.
I can't see any bios settings that might effect the installer.
I have removed all of the RAM and tried RAM from an identical machine
that doesn't have this problem, but no luck. It still does the same
I have removed all of the PCI devices (save for the SCSI controller) and
no improvement.
Is this symptom familiar to anyone? Can anyone suggest how I might work
out what is going on?
Any suggestions greatly appreciated.
Langdon
16 years, 7 months
netdump support
by Adhiraj Joshi
Hi All,
I tried to setup netdump on my FC6 mahcine but I could not find netdump
module (netdump.ko) in the build. I assume netdump comes by default with
rhel/fedora kernels. Where do I get the rpms/srpms//patches to build netdump
from on FC6. Or which kernels support netdump?
Thanks in advance,
Adhiraj Joshi.
16 years, 7 months
F7 Rescue does have dd
by Karl Larsen
I was so sure it didn't I rebooted into the F7 Rescue CD and did not
mount my computer and sure enough it does have dd somewhere. I went
looking and found the joe editor but missed seeing the dd anywhere but
it sure does come up :-)
Next time I do a dd transfer I will use the Rescue CD. It is real
nice. I might test it soon to see how fast it is.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
16 years, 7 months