Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
teapot
Dec 27, 2003

by Fistgrrl

Crush posted:

Pacman!
...ate all free space on the filesystem.

Adbot
ADBOT LOVES YOU

teapot
Dec 27, 2003

by Fistgrrl

Xenomorph posted:

I'll see about trying this today.

Edit: I just did hdparm on the drive. It said this:
Timing buffer-cache reads: 7188 MB in 3.00 seconds = 2397.02 MB/sec
Timing buffered disk reads: 96 MB in 3.00 seconds = 31.96 MB/sec

That 31 megs/second thing looks more like what I was expecting.
However, I'm doing another run with g4l, and HD reading has again only made it up to about 19 megabytes/sec. It's connected via USB to the Linux system now, and is doing better than the 17megs/sec it was doing when connected via IDE yesterday.

I ran "hdparm" from the G4L boot CD I have, so it's not like the configuration is suddenly changing on it.
Probably there is some overhead in a way how G4L handles data. Are you using raw or filesystem mode?

quote:

On the system running Linux, it was installed with an 80 wire IDE cable to the system's internal primary IDE port.
Wouldn't a 40 wire cable still support 33megs?
40-conductors cable should work with ATA33, this is what it was made for. 80-conductors cables are necessary for ATA66, 100 and 133 because at higher frequencies crosstalk in 40-conductors cable is sufficient to distort the signals.

Kobayashi
Aug 13, 2004

by Nyc_Tattoo

teapot posted:

Can you clarify, which OS runs VirtualBox, and which OS is running in the VirtualBox? And where do you keep their corresponding filesystems?

I am running VB on Ubuntu Feisty as configured by Dell. The image in question is Windows XP. I remember when I created the VM that I tried to allocate 40 Gb up front but it kept giving me errors. I instead chose to use a dynamically expanding image. It is in ~/$HOME/.VirtualBox/Machines/Windows XP/Snapshots/{...}.VDI.

I did a little Googling, but didn't get too far.

ulimit -a:

code:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 20
file size               (blocks, -f) unlimited
pending signals                 (-i) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) unlimited
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
/etc/fstab:

code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=c8ed6c41-e81d-4f10-bc48-ba05dce58c73 /               ext3    defaults,error
s=remount-ro 0       1
# /dev/sda5
UUID=4330a6fa-6335-47c2-a014-fe054db9cb71 none            swap    sw            
  0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
UUID=e97fe73d-0b19-4f73-b4d1-b52f2b09e5ec  /boot ext3 defaults 0 0
I read online that ext3 supports 16 Gb - 2 Tb max. file sizes, but from what I can tell (and I really don't know how to interpret what I am looking at), it shouldn't be an issue with my system as configured.

quote:

Very likely it's ACPI, however it's possible that some driver does not exit cleanly (then you most likely will see error messages about it while computer is waiting and is supposed to be rebooting). You can press 'e' in GRUB menu while your normal system is selected, select the kernel line, pres 'e' again, edit the line to remove "splash" and "quiet", press Enter and 'b' to boot in normal mode with kernel messages enabled. You can do the same way to add "acpi=noirq" or even "acpi=off" options to see if it makes reboot work properly.

I shall give this a shot; thanks.

Steve French
Sep 8, 2003

teapot posted:

...ate all free space on the filesystem.

Actually more like Nautilus ate it and framed pacman. It kept throwing everything deleted through nautilus into the respective drive's .Trash folder, but then wouldn't actually remove it when the "Empty Trash" command was given.

teapot
Dec 27, 2003

by Fistgrrl

Kobayashi posted:

I am running VB on Ubuntu Feisty as configured by Dell. The image in question is Windows XP. I remember when I created the VM that I tried to allocate 40 Gb up front but it kept giving me errors.

What errors?

Kobayashi
Aug 13, 2004

by Nyc_Tattoo

teapot posted:

What errors?

If I try to create a fixed size, 40 Gb image from the Virtual Disk Manager, it says:

code:
Falied to create a hard disk image '$HOME/.VirtualBox/VDI/NewHardDisk1.vdi' (VERR_FILE_TOO_BIG).

Result Code: 
0x80004005
Component: 
VirtualDiskImage
Interface: 
IVirtualDiskImage {a8265b5a-0d20-4a46-a02f-65693a4e8239}
When I start the VM, I get this error after a while:

code:
Host system reported that the file size limit has been exceeded.
VM execution is suspended. You need to move the file to a filesystem
which allows bigger files.

Error ID: 
DevATA_FILETOOBIG
Severity: 
Warning

teapot
Dec 27, 2003

by Fistgrrl

Kobayashi posted:

If I try to create a fixed size, 40 Gb image from the Virtual Disk Manager, it says:

code:
Falied to create a hard disk image '$HOME/.VirtualBox/VDI/NewHardDisk1.vdi' (VERR_FILE_TOO_BIG).

Result Code: 
0x80004005
Component: 
VirtualDiskImage
Interface: 
IVirtualDiskImage {a8265b5a-0d20-4a46-a02f-65693a4e8239}
When I start the VM, I get this error after a while:

code:
Host system reported that the file size limit has been exceeded.
VM execution is suspended. You need to move the file to a filesystem
which allows bigger files.

Error ID: 
DevATA_FILETOOBIG
Severity: 
Warning
Check if you have 1K block size on your filesystem where you are trying to create the image by running "tune2fs -l /dev/sda1" as root and looking for "Block size:" line. If it shows 1024, you need to create a ext3 filesystem with a larger block size ("-j -b 2048" or "-j -b 4096" options to mke2fs when creating it) to store an image that large. I recommend to test this on a separate drive before doing any changes on your original root filesystem, and you will need a backup drive to do that anyway.

Kobayashi
Aug 13, 2004

by Nyc_Tattoo

teapot posted:

Check if you have 1K block size on your filesystem where you are trying to create the image by running "tune2fs -l /dev/sda1" as root and looking for "Block size:" line. If it shows 1024, you need to create a ext3 filesystem with a larger block size ("-j -b 2048" or "-j -b 4096" options to mke2fs when creating it) to store an image that large. I recommend to test this on a separate drive before doing any changes on your original root filesystem, and you will need a backup drive to do that anyway.

1K blocks confirmed. I have a spare 120 Gb drive. I think I will use that instead of mucking around with my root filesystem.

On another note, is there anything you don't know about Linux, teapot?

teapot
Dec 27, 2003

by Fistgrrl

Kobayashi posted:

On another note, is there anything you don't know about Linux, teapot?
Of course, there is. Even if you mean just kernel, it's a huge project.

Juxtaposition
May 8, 2002

I screwed up while playing around with installing in a dual boot mode for the millionth time and experimenting, put /boot on a separate partition. What I didn't realize was how small I made it. Its only 32mb and already giving me almost full messages when I boot up.

I know I could just start over, but I thought I'd ask (since I really like how I've got this one all together and configured otherwise)... is there a way for me to move /boot back onto the root partition (or somewhere else), which has tons of room? Actually /home and everything else is in that partition too. Could I just copy it over and delete the other small partition with a partition manager?

This is Ubuntu 7.04 with Windows XP Home as the second OS.

teapot
Dec 27, 2003

by Fistgrrl

Juxtaposition posted:

I screwed up while playing around with installing in a dual boot mode for the millionth time and experimenting, put /boot on a separate partition. What I didn't realize was how small I made it. Its only 32mb and already giving me almost full messages when I boot up.

I know I could just start over, but I thought I'd ask (since I really like how I've got this one all together and configured otherwise)... is there a way for me to move /boot back onto the root partition (or somewhere else), which has tons of room? Actually /home and everything else is in that partition too. Could I just copy it over and delete the other small partition with a partition manager?

This is Ubuntu 7.04 with Windows XP Home as the second OS.

You can unmount it, mount it somewhere else, and copy its contents to the /boot directory where it was mounted. After that you can comment out its entry in /etc/fstab and modify /boot/grub/menu.lst to point root to the prtition where your real root filesystem is located instead of /boot partition (say, "root (hd0,0)" for /dev/sda1 becomes "root (hd0,1)" for /dev/sda2). /boot filesystems contain symlink "boot -> .", and menu.lst files contain references to /boot/somefile instead of /somefile, so the fact that everything that was in the root directory of the boot partition is now in /boot directory of the root partition won't break any file names mentioned in that file.

Edit: Then reinstall grub with the new partition (your root partition) as its install partition, so it will use new location of configuration file (run "grub-install hd0").

Former /boot partition will remain on the drive but won't be used, and later you can remove it with [g]parted, move/expand the original partition, etc when booted from CD or another system. Take into account that if you change the numbering of partitions, you have to update root device numbers in /boot/grub/menu.lst again.

This will only work if you didn't really need a separate /boot partition because BIOS allows access to the whole drive. If you really need a separate boot partition because bootloader can't access some part of the drive, your best option is to boot from a live CD, resize and move partitions on the drive, so boot partition is large enough.

teapot fucked around with this message at 09:54 on Sep 30, 2007

Juxtaposition
May 8, 2002

teapot posted:

You can unmount it, mount it somewhere else, and copy its contents to the /boot directory where it was mounted..........

Thanks a ton I'll try this.

invid
Dec 19, 2002
I need some help with squid.

I'm running a squid proxy server on the same physical server and ip of my webserver.

Here lies the problem:
When I'm going through my squid proxy server to access a site on my webserver, the page doesn't load at all. If I don't use the proxy server, I can access my sites just fine.

How can I configure my squid properly? I've been reading the squid wiki and have been searching google for sometime now with the keyword "squid conflict web server same machine" and I can't seem to get any info on this case.

teapot
Dec 27, 2003

by Fistgrrl

invid posted:

I need some help with squid.

I'm running a squid proxy server on the same physical server and ip of my webserver.

Here lies the problem:
When I'm going through my squid proxy server to access a site on my webserver, the page doesn't load at all. If I don't use the proxy server, I can access my sites just fine.

How can I configure my squid properly? I've been reading the squid wiki and have been searching google for sometime now with the keyword "squid conflict web server same machine" and I can't seem to get any info on this case.
Do you have transparent proxying/redirection, blocking or any other kind of unusual network configuration on the same host? Can you reach your site using lynx/elinks/... running on the same host?

invid
Dec 19, 2002
no proxy redirection, blocking.

covener
Jan 10, 2004

You know, for kids!

invid posted:

How can I configure my squid properly? I've been reading the squid wiki and have been searching google for sometime now with the keyword "squid conflict web server same machine" and I can't seem to get any info on this case.

I wouldn't expect too much breakage based on being on the same system; does an ip trace show anything suspicious in the communication between the two?

Xenomorph
Jun 13, 2001

teapot posted:

Probably there is some overhead in a way how G4L handles data. Are you using raw or filesystem mode?


Raw, bit for bit copy.

invid
Dec 19, 2002

covener posted:

I wouldn't expect too much breakage based on being on the same system; does an ip trace show anything suspicious in the communication between the two?

tracert is fine.

I suspect this is a squid configurations issue but I just no idea what variable or how to fix it.

teapot
Dec 27, 2003

by Fistgrrl

invid posted:

tracert is fine.

I suspect this is a squid configurations issue but I just no idea what variable or how to fix it.
tracert can't possibly tell you if something can connect from one port on your Linux box to another one on the same box -- you still have to check if you see the web server's response when you run lynx on it, and I am sure, by "trace" covener meant packet capture (tcpdump, wireshark, etc) on the box. As for configuration, in squid it should be somewhere in ACLs, however if this is the case you will get an error about permissions, not just hung connection, message about network error or empty response.

teapot fucked around with this message at 08:44 on Oct 1, 2007

Steve French
Sep 8, 2003

I got fed up with lovely ATI support on my system, and I figured it was time for an upgrade, so I went out and got a PNY Geforce 8800 GTS 320MB (pci express, upgraded from an AGP Radeon X800XL).

Works totally great in vista, and is definitely running fine (tried hl2 with all settings cranked, ran tolerably with some tearing).

Debian, not so well. I tried a number of things to try to get the drivers installed, after loving around for a while got the latest drivers straight from nvidia to install, but got seg faults everytime I tried to run glxinfo (or glxgears for that matter). I decided to see if I would have any better luck in Ubuntu, figuring that it might play nicer with a more recent card such as mine. Even worse luck; I can't even get the live CD to boot. On both the Xubuntu and Ubuntu images I downloaded, after the initial CD boot menu and the progress bar loading the kernel, the screen goes black and then stays black for a few minutes, and then the monitor loses signal and shuts off. This happened when I tried the safe graphics mode as well. And the same if I try the cd media check.

I dug around in the BIOS for a bit, wondering if there might have been some settings that would screw things up since I just switched from AGP to PCI express; I changed the default graphics mode to PCI express from AGP, and tried again. I got mostly the same thing, except after a few minutes instead of the monitor losing signal, a very very loud beeping from inside my case. I couldn't tell if it was coming from the video card or the motherboard, but I haven't tried anything since.

Does anyone have any idea what the hell could be going on? I can't stand using a system without good video drivers, and I also can't stand using Windows.

More relevant info:
MB: ASRock 939Dual-SATA2
CPU: AMD Athlon 64 x2 3800+
1gb ram
Was running Debian etch, then tried both Ubuntu and Xubuntu 7.04.

teapot
Dec 27, 2003

by Fistgrrl

Steve French posted:

I got fed up with lovely ATI support on my system, and I figured it was time for an upgrade, so I went out and got a PNY Geforce 8800 GTS 320MB (pci express, upgraded from an AGP Radeon X800XL).

Works totally great in vista, and is definitely running fine (tried hl2 with all settings cranked, ran tolerably with some tearing).

Debian, not so well. I tried a number of things to try to get the drivers installed, after loving around for a while got the latest drivers straight from nvidia to install, but got seg faults everytime I tried to run glxinfo (or glxgears for that matter).
Uninstall packaged version of the driver before running Nvidia installer.

quote:

I decided to see if I would have any better luck in Ubuntu, figuring that it might play nicer with a more recent card such as mine. Even worse luck; I can't even get the live CD to boot. On both the Xubuntu and Ubuntu images I downloaded, after the initial CD boot menu and the progress bar loading the kernel, the screen goes black and then stays black for a few minutes, and then the monitor loses signal and shuts off. This happened when I tried the safe graphics mode as well. And the same if I try the cd media check.

I dug around in the BIOS for a bit, wondering if there might have been some settings that would screw things up since I just switched from AGP to PCI express; I changed the default graphics mode to PCI express from AGP, and tried again. I got mostly the same thing, except after a few minutes instead of the monitor losing signal, a very very loud beeping from inside my case. I couldn't tell if it was coming from the video card or the motherboard, but I haven't tried anything since.

Does anyone have any idea what the hell could be going on? I can't stand using a system without good video drivers, and I also can't stand using Windows.

More relevant info:
MB: ASRock 939Dual-SATA2
CPU: AMD Athlon 64 x2 3800+
1gb ram
Was running Debian etch, then tried both Ubuntu and Xubuntu 7.04.
If it can't verify CD, you have a hardware (power supply + new card?) or media (bad CD?) problem.

Steve French
Sep 8, 2003

teapot posted:

Uninstall packaged version of the driver before running Nvidia installer.
I'll give that a try again when I get home from work, hopefully that'll do something for me.

teapot posted:

If it can't verify CD, you have a hardware (power supply + new card?) or media (bad CD?) problem.
I'm not inclined to believe that I have a hardware issue, since as I said, everything works completely and totally fine in Vista. When I installed the new video card, I also took out my SB X-Fi Platinum (since there are no drivers for it), and my power supply should be able to handle what I've got running (<1 year old Antec 500w, and all I'm running is basically motherboard, cpu, video card, 2 optical drives, and 3 hard drives).

As for media, that's what I'm thinking is most likely. However, the _exact_ same thing has happened every time, with 5 or 6 different combinations of burning Xubuntu and Ubuntu with Gnomebaker and burnatonce. I'm also sure that the isos I downloaded are valid.

Steve French
Sep 8, 2003

Steve French posted:

I'm not inclined to believe that I have a hardware issue, since as I said, everything works completely and totally fine in Vista. When I installed the new video card, I also took out my SB X-Fi Platinum (since there are no drivers for it), and my power supply should be able to handle what I've got running (<1 year old Antec 500w, and all I'm running is basically motherboard, cpu, video card, 2 optical drives, and 3 hard drives).

As for media, that's what I'm thinking is most likely. However, the _exact_ same thing has happened every time, with 5 or 6 different combinations of burning Xubuntu and Ubuntu with Gnomebaker and burnatonce. I'm also sure that the isos I downloaded are valid.

Problem solved by disabling the Ubuntu splash screen. Brilliant.

dfn_doe
Apr 12, 2005
I FOR ONE WELCOME OUR NEW STUPID FUCKING CATCHPHRASE OVERLORDS

Steve French posted:

I'll give that a try again when I get home from work, hopefully that'll do something for me.

I'm not inclined to believe that I have a hardware issue, since as I said, everything works completely and totally fine in Vista. When I installed the new video card, I also took out my SB X-Fi Platinum (since there are no drivers for it), and my power supply should be able to handle what I've got running (<1 year old Antec 500w, and all I'm running is basically motherboard, cpu, video card, 2 optical drives, and 3 hard drives).

As for media, that's what I'm thinking is most likely. However, the _exact_ same thing has happened every time, with 5 or 6 different combinations of burning Xubuntu and Ubuntu with Gnomebaker and burnatonce. I'm also sure that the isos I downloaded are valid.

I see you've resolved your issue, but just FYI I had a brand new dvd drive that simply refused to read ubuntu install media before. I swore up and down it couldn't be a hardware issue, but I switched out the drive just to be thorough and everything just started working fine. The drive that wouldn't read the linux install media worked fine with the Vista and XP install discs.. YMMV

Crush
Jan 18, 2004
jot bought me this account, I now have to suck him off.
This is probably a very simple question, but what is the easiest way to grab the number when executing:

code:
wc -l <filename>
Is there a better way to go about doing this?

Edit: Right now, I get:

code:
<number of lines> <filename>

DevastatorIIC
Nov 13, 2006

Dvorak- Ubuntu- KDE- and Opera-fag

Crush posted:

This is probably a very simple question, but what is the easiest way to grab the number when executing:
code:
wc -l <filename>

wc -l filename | awk '{print $1}'

Edit: I've always used awk. What's the difference between awk and cut? When should you use one over the other? And you're welcome :)

DevastatorIIC fucked around with this message at 10:01 on Oct 3, 2007

Crush
Jan 18, 2004
jot bought me this account, I now have to suck him off.

DevastatorIIC posted:

wc -l filename | awk '{print $1}'

Works like a charm. Thank ya kindly :)

evilmonkeh
Apr 18, 2004
meh
I'm thinking about buying a laser printer for my house. I'm going to connect it to my ubuntu-server box, but Is there any simple way of sharing over the network but also keeping some record of how many pages each person has printed?

nbv4
Aug 21, 2002

by Duchess Gummybuns
How the heck do you get a program to run in the background? For instance I'm trying to get gmail-notify to run without needing a terminal window running at all times.

I try the command "gmail-notify" and I get a screenful of words, and if I close that screen, the program exits. You're probable saying to yourself, "this sod needs to learn himself some &", but no! "gmail-notify &" gives me the exact same result. Come to think of it, the amperstand has failed me when attempting to run other programs in the background as well.

Does one have to "enable" the amperstand somewhere or some crap?

nbv4 fucked around with this message at 14:57 on Oct 3, 2007

DMLou
May 17, 2004
Dragonmaster Lou

nbv4 posted:

How the heck do you get a program to run in the background? For instance I'm trying to get gmail-notify to run without needing a terminal window running at all times.

I try the command "gmail-notify" and I get a screenful of words, and if I close that screen, the program exits. You're probable saying to yourself, "this sod needs to learn himself some &", but no! "gmail-notify &" gives me the exact same result. Come to think of it, the amperstand has failed me when attempting to run other programs in the background as well.

Does one have to "enable" the amperstand somewhere or some crap?

I never played with gmail-notify, but it sounds like it's being killed off by hangup signals.

Try using this command line and see if it helps: nohup gmail-notify &

Every other program I've tried that tends to die when running in the background and the shell that launched it closes can be kept running by using the 'nohup' command. Hopefully gmail-notify is no different.

yippee cahier
Mar 28, 2005

evilmonkeh posted:

I'm thinking about buying a laser printer for my house. I'm going to connect it to my ubuntu-server box, but Is there any simple way of sharing over the network but also keeping some record of how many pages each person has printed?

CUPS will log all jobs you send it, based on username. The web interface is pretty nice, but there's also text logs in /var/log/cups/ you can grep and linecount.

deong
Jun 13, 2001

I'll see you in heck!

nbv4 posted:

How the heck do you get a program to run in the background? For instance I'm trying to get gmail-notify to run without needing a terminal window running at all times.

I try the command "gmail-notify" and I get a screenful of words, and if I close that screen, the program exits. You're probable saying to yourself, "this sod needs to learn himself some &", but no! "gmail-notify &" gives me the exact same result. Come to think of it, the amperstand has failed me when attempting to run other programs in the background as well.

Does one have to "enable" the amperstand somewhere or some crap?

You can use 'alt+f2' to get the run dialog, then just type in gmail-notify to run it.. and I think you can hit 'ctrl+z' to put the prog in background when you run it from command line to.

JoeNotCharles
Mar 3, 2005

Yet beyond each tree there are only more trees.

DevastatorIIC posted:

wc -l filename | awk '{print $1}'

Edit: I've always used awk. What's the difference between awk and cut? When should you use one over the other? And you're welcome :)

cut's simpler and more limited. If you already know awk, just use that. I can never remember how it works since I use it so rarely, so I just use cut.

DevastatorIIC
Nov 13, 2006

Dvorak- Ubuntu- KDE- and Opera-fag

nbv4 posted:

How the heck do you get a program to run in the background? For instance I'm trying to get gmail-notify to run without needing a terminal window running at all times.

I try the command "gmail-notify" and I get a screenful of words, and if I close that screen, the program exits. You're probable saying to yourself, "this sod needs to learn himself some &", but no! "gmail-notify &" gives me the exact same result. Come to think of it, the amperstand has failed me when attempting to run other programs in the background as well.

Does one have to "enable" the amperstand somewhere or some crap?

Try starting a simpler program in the background. The pages of text will eventually stop. Press enter. Hey look, your prompt is back! Now type jobs. You'll see a program running in the background. If you close the terminal now, it'll close that job too. Not what you want. Type disown, then close the terminal.

Summary:
gmail-notify &
disown
exit

or shorter:
gmail-notify & exit

deimos
Nov 30, 2006

Forget it man this bat is whack, it's got poobrain!
or:
nohup gmail-nofity &> /dev/null &

edit: technically speaking the post above should've been 'disown -h' I think.

deimos fucked around with this message at 21:06 on Oct 3, 2007

DevastatorIIC
Nov 13, 2006

Dvorak- Ubuntu- KDE- and Opera-fag

deimos posted:

or:
nohup gmail-nofity &> /dev/null &

edit: technically speaking the post above should've been 'disown -h' I think.

man bash posted:

To prevent the shell from sending the signal to a particular
job, it should be removed from the jobs table with the disown builtin
(see SHELL BUILTIN COMMANDS below) or marked to not receive SIGHUP
using disown -h.

Either way, I guess. I still like mine :)

georanma
Jun 18, 2004
Im trying to do an install of gentoo from the minimum install disk. This is my first time doing all the compiling on my own.
I ran through the whole install using all the defaults in the gentoo handbook and then i restarted and tried to load up my install.

I get to my grub menu and select my install and I get this message


booting 'gentoo linux 2.6.19-r5'
kernel /boot/kernel-gentoo-x86-2.6.19-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev

error 15: file not found

press any key to continue

I think there is nothing in my boot folder but Im not sure where i went wrong or how to fix this.
thanks

edit: im retarded...didnt have the right kernel named in my make.conf file.

georanma fucked around with this message at 09:38 on Oct 5, 2007

Vanadium
Jan 8, 2005

Is there anything wrong with using su -c instead of using sudo?

DevastatorIIC posted:

wc -l filename | awk '{print $1}'

wc -l < filename :colbert:

lilbean
Oct 2, 2003

Vanadium posted:

Is there anything wrong with using su -c instead of using sudo?
su will ask for the root password, and sudo will just ask for your own (meaning that you don't have to maintain the root password if you don't want to).

Adbot
ADBOT LOVES YOU

Jack Fool
Feb 16, 2003

Vanadium posted:

Is there anything wrong with using su -c instead of using sudo?

lilbean told you the difference between the two (typing root passwd vs typing the current account's passwd), whether or not there's anything 'wrong' with it is more a matter of context: if you are running production servers with multiple admins it's better not to hand out the root password at all, and it's best to have seperate accounts who can sudo to whichever account they need access to.

Since my current employer is moving towards PCI Compliance (large scale credit card processing) I've been screwing around with this sudosh program (records all actions performed as sudo) and learning all about the sudoers file as a consequence. Much simpler and more useful than I'd thought before I'd spent any time with it.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply