-
Posts
2898 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by Cannonfodder
-
-
Usually a good preliminary step to adding a hard drive, cd or what not is to check the startup screen. Most computers hide this with a graphic image (.e.g DELL) that you can remove by hitting escape. During this load perioid, you will see your devices listed. If a device (old or new) doesn't show up or takes an unreasonable amount of time to show, then you can assume something is not square. Then you can try a new configuration or double-check your jumpers. I just stay away from cable-select and go with strict master / slave settings. Once everything is correct in the bios area, then you can focus on getting linux or windows to work correctly.
-
I would uninstall the rpm's and then go to the xclips web site (type xclips linux into google). Then make sure you read what is required, make sure youi have it. Then you can install the tar from the web site.. If this doesn't work you will at least have more information on what is missing rather than a seg fault message only. Also, look for a package called checkinstall. You can use it to convert your tar install into an rpm install. This makes it easy to uninstall it at a later date..
-
man, i dunno who let you in! ;)
j/k. welcome aboard man.
I think he sent Mysti 10 cartons of cigs

-
Same, go easy with that big ol stick!

-
Don't have much to offer you here, but here is the device section of my /etc/X11/XF86Config-4 file. Also, make sure you get installation instructions for the driver from the ATI website and read them carefully..
Section "Device"
Identifier "device1"
BoardName "ATI All-in-Wonder Pro"
Driver "ati"
Option "DPMS"
EndSection
-
You can also try editing your XF86Config-4 file and comment out the line related to VIDEO4LINUX (something like that). Used to be an 8.1 bug where the screen would go black. Backup the file first before changing. This is a far shot though..
-
Try this with both drives in place.
Boot off of CD1 and do an install. Get to the screen where you can select custom partitioning. Select custom and when you get to the screen that displays your current hard drives and partitions, note the name of the drives and the partition numbers on a pice of paper.
E.g.
hda
hda1
hda2
hdb
hda5
so on..
Then force a reboot and go into rescue mode. Mount all partitions and then go to a console or terminal. Type
chroot /mnt
cd /etc
cp lilo.conf lilo.bkup (this is so you can restore if you fsck it up)
vi lilo.conf
You will have to manually update your lilo.conf file to match the new settings for your hard drive. What can happen is that a drive may used to be hda and is now hdb and thus lilo can't find it. Check each line and make sure its correct per the paper you wrote notes on.
When ready, at the console, type
lilo
Should have
adding Windows
adding Linux
something like that.. Any errors and you need to track them down before rebooting.
If you don't know how to use vi (editor), you can look at the board FAQ forum. I think there is a tutorial in there. If not, just type 'vi tutorial' into google. It's the oldest program in the world

-
same..
-
*Moved this topic to the security forum :) *
Some other things you can do to prevent virus is..
1. Turn off IIS if its on.
2. Get rid of the firewall and install ZoneAlarm. Easier to manage.
3. Install Opera. Leave Outlook and IE but destroy any outlook accounts. Many virus come through outlook as activex or executables.
4. I have norton anti-virus, but when the subscription runs out, I usually end up replacing my win2k install with a partimage copy (sans norton) and reinstalling the norton. It starts the virus subscription as new once again.
Like the linux server idea.. might end up trying that myself. Another thing you can do is get spam assassin going. Mine actually runs on my web site and has been hosing viruses at a rate of 3-15 a day.
-
Do you have a screensaver or power saver running Try disabling these features.. You can also try turning off power saving in your bios..
-
You're welcome :)
-
I did a completely fresh install of 9.2 and installed lilo with no
problem. However after rebooting, logging in and installing all of the
upgrades successfully, I then downloaded the updated kernel and did
an rpm
-ivh kernel2.4.22-21*.rpm. The kernel installed, but gave me an error
when updating lilo.
When attempting to manually update lilo with the new information, the
following occurs:
[root@TVR280i etc]# lilo -v
LILO version 22.5.7.2, Copyright © 1992-1998 Werner Almesberger
Development beyond version 21 Copyright © 1999-2003 John Coffman
Released 20-Aug-2003, and compiled at 16:45:54 on Sep 18 2003
Reading boot sector from /dev/sdd5
part_nowrite: read:: Input/output error
Anyone know why this is happening? Never had this problem before
9.2!!!
Do several things..
1. Examine your /etc/lilo.conf file and make sure the files referenced by linux entry are there. These are usually references to symbolic links.
2. Check your /boot directory and make sure all the symbolic links are correctly udpated to point ot the new kernel.
Then try running lilo again.
Frequently the kernal rpm screws up the symbolic link. Been around for a long time.
-

urpmi thinks one of the packages is installed while it's not. It can't be removed (simply because it's not there) and reinstalling the package is impossible since urpmi thinks it's installed.

Is it possible to rebuild the database?
Any suggestions please to resolve this problem?
Thanks.
Forcing may not be the best way.. try this first..
-
Probably the easiest way would be to make your new partitions on the new hard drive and then do a copy of the old partition. You can boot off of CD1 and then mount the partitions you want to copy. Copy with
copy -pax source dest
Then you will need to go to your new root partition and modify your /etc/fstab and /etc/lilo.conf files..
-
I am trying to write a C program where I need to work directly with some binary numbers. The only thing that I can not find, and yes I have looked, is how to represent binary numbers.
Basically what I am looking for is how to store am a 8 bit binary number, say 0110110, in a variable. The best that I have found so far would be to do something like this:
<!--QuoteEBegin-->#define BYTE char<!--QuoteEBegin--><!--QuoteEBegin-->BYTE myBinaryNo = 0x0110110;<!--QuoteEBegin-->
Would this be correct though? I thought the 0x notation was for hex numbers.
I think you are getting mixed up with notation vs actual storage. All data is stored in binary. It's just how the rules that are applied based on type. Assumming you are working with a char or byte (8 bit) type
BYTE myBinaryNo = 0xFF
would be equivalent to 1111 1111 in binary notation.
But if your interested in typing c code to represent binary notation, then 0b11111111 might work if your compiler believes in it (LOL). Probably more simple to use hex notation as its universal.
-
Do some more searching for
fstab /dev vfat
for cannonfodder
and you will find more entries that don't require the GID=500. That sets ownership for the partition but its no good if you have other accounts you want to access the vfat partition.
-
bit logic?
2 - 0000 0010
4 - 0000 0100
8 - 0000 1000
so on, always has one 1 in the expression..
So maybe you can figure some kind of bit comparison to validate that in an expression?
-
-
Let's discuss this conceptually and see what you really understand..
A pointer is a memory address that contains another memory address. The memory address is to you, a memory variable. The stuff below is not java, just concepts.
int myNum = 3;
pointer myPointer;
myPointer = addressOf(myNum)
To draw this out, you have
Variable Name | MyNum | myPointer
Address | 0x00000004 | 0x00000006
Value | 3 | 0x00000004
That's what it would like in a memory dump. The address values I just made up. You can see how myPointer contains a value equal to the address of MyNum
Now I can say
print(myPointer) gives me 0x000000004
print(myPointer->value) gives me 3
So now i can define a new pointer
pointer pointer2;
pointer2 = addressOf(myNum)
Now I have 2 pointers, myPointer and pointer2. Each has a separate memory address in the machine, but both contain the same value, the address of myNum and each can be used to obtain the value of 3.
Now lets say I do this again
Object myNode{
int number
}
myNode.number = 3
mypointer = myNode
print(myPointer.number)
In all these cases, we are defining the object being pointed to as a second variable. This is unecessary.
mypointer = new(myNode)
print(myPointer.number)
In this case, my pointer is created and so is a new object instanciated. The pointer points to the object. The object doesnt' have a name but i can still reference it through mypointer. If i destroy mypointer, in Java, the object should be destroyed if there are no other pointers pointing to it. This is called garbage collection. In C, you would be screwed because their is no garbage collection. The memory for the object would continue to exist but nothing would be able to reference it.
So now we get more complicated..
Object myNode{
int number
pointer nextPtr
}
myPointer = new(myNode)
myPointer.number = 3
myPointer.nextPtr = NULL
NextPtr points to nothing.
myPointer.nextPtr = new(myNode)
myPointer.nextPtr.number = 4
Now I've done it! I've created a new object in memory and pointed nextPtr to it. I now have a linked list.
myPointer -> myNode myNode.nextPtr -> myNode myNode.nextPtr -> NULL
How about traveling the list?
currentPtr = mypointer
do while currentPtr.nextPtr is not NULL
currentPtr = currentPtr.nextPtr
enddo
Now currentPtr will travel through the list in a loop until the last object is reached. it will stop because the last pointer has a NULL value (nothing). You will note that during this process, I never destroyed my top pointer (myPointer). if I did, I would have no way of finding the first element in the list. I can continue this further by adding a prevPtr property and having it point to the previous node.
Does all that make sense? The best way to learn this is to draw objects on paper. Write the pointer name and draw an arrow to a circle which is the object. You can draw a chart. Go through the code and update the chart as you go along. You will get a good understanding of this as your brain gets the idea..
:wink:
-
I don't know grub, but you can probably type in
man grub
and find an option for uninstalling... actually bvc.. he's a grubby grubber

-
fireworkz, what does this have to do with the question?
-
Having come from a background in using gui's for partitioning, I suggest that you forgo using them and starting doing things manually. Your knowledge of partitioning will be stronger and you will be able to do exactly what you want to do.
Here's what I would do..
1. Uninstall LILO if you are using it (or grub). When done, you should only be able to boot into windows. To uninstall lilo, type
lilo -U
This should uninstall and restore your former MBR.
2. Uninstall Partition Magic. You no longer need it. It adds complications and increases the risk that your partition tables may be altered incorrectly.
3. Boot off of CD1 and do a fresh install. When you get to the diskdrake menu, totally erase your second hard drive. Then you can use the partitioning tool (make sure you are doing custom partitioning) to create them exactly like you want, including using reiserfs. While probably not necessary, make the first partition primary and then allocate the rest for logical or extended. Don't use the extend-82 (or whatever option).
Additionally never use a DOS or windows disk tool on your second hard drive. It will SNAFU it..
-
What's it look like?
-
Do some searching on the following terms (click advanced search)
fstab and /dev
Basically you have to edit your /etc/fstab file and add an entry for each new partition... plenty of reading material on it in this board..

Sound always muted
in Hardware
Posted
Do a search on kmix and aumix... might be what you are looking for..