I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.
Code: grub root (hd0,3) setup (hd0) quit reboot
Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.
If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.
Code: Device Boot Start End Blocks Id System /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris /dev/sda2 263 13316 104856255 83 Linux /dev/sda3 * 13317 14621 10482412+ 83 Linux
With the command "tail -300 /var/log/apache2/access.log | less" i can look in the log for the 300 latest visitors from my logfile. and i wanted to ask if it's possiblle to get that command to run from a php file and if yes how ?? how i run system commands in php? i use debian if it matters.
I've recently lost my window options, had to somehow manipulate my way to Xchat and ask some people how do I get it back (it was metacity --replace, and after I decided to stop the command and run it in background the X was completely useless so I had to do killall -u user). And that was after the internet connection stopped working for some reason (might've been the ISP).
The thing is, after using linux a long time, I still get the feeling that on dire situations, I don't know the good tricks (stuff like metacity --replace). I feel like a really need like a "rescue" cheatsheet for things like: how to save the X no matter what without pressing reset how to reset the system to "normal state" how to connect to the internet through the command line how to monitor what the X is doing (using ubuntu linux 10.04 btw)
I have linux based photo editing software that I want to install so that it can be accessed through the Applications menu. Which system folder do I install it in? Or what terminal commands do I use to install so it is part of the system?
When I was on Ubuntu/Debian based Linux Distros, I would open up the terminal and type sudo apt-get autoremove && sudo apt-get clean && sudo apt-get autoclean to clean up my system and I would also use Ubuntu Tweak to clean up as well, what commands do I use with Fedora 14 KDE to clean up my system?
I have read that i can backup the entire system with the home folder with commands, or with programs, such as clonezilla, but it doesnt work, so im trying to back it up with commands now but i cant find a good tutorial to explain what commands to use.
I was zsync-ing the latest Ubuntu 11.10 Alpha and thought I'd make a little GUI for it as a small project. The gui is set up, I just need to figure out how to run zsync with content from to variables, cto and cfrom. I tried the following code:
I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).
How can I do this with shell commands in Linux?
My current thoughts:
ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer (I think I should use scp, but I dont how exactly how in my case)
this string of commands pops up when i try to boot up linux in any mode.fsck from util-linux-ng 2.16/dev/sda5:clean, 207703/1966080 files, 1500210/7859793 blocks (check in 2 mounts)i have no idea about computer stuff so
reason my Debian 5 system will not stop printing blank pages. I've got the CUPS system installed, and I've gone to the control page and canceled everything. I've also turned the printer off and restarted it several times. Every time it comes back online it starts printing blank pages again. My paper does not need to be heat treated. It's fine as it is. So, how to I stop this waste of electricity and printer MTBF? What else might be sending commands to the printer besides the CUPS system?
I have just installed 11.2 i686 on two machines, one virtual and one physical. Both have been set to start in runlevel 3. For some reason it seems that my installations have missed some step in the process, because the system cannot find several rather important commands, eg. init and ifconfig.this is what I get if I try to run ifconfig:
Code: user@computer:~> sudo ifconfig sudo: ifconfig: command not found
I'm trying to write a python script that will use the current user's name when interacting. Ex: when started, it should say "hello daweefolk" when I am logged in. I've tried Code: username=os.system("echo $USER") but the variable remains empty. What is the correct code?
I just started learning how to manipulate Linux (Debian Lenny) about a month ago with the intention of ditching Windows eventually and learning to configure serversn the process. But, I still need Windows for certain things. I downloaded and installed VirtualBox (I know, VMWare is better, but I didn't know that at the time and don't want to go through the process all over again) and got Windows XP working with a tap interface and bridge interface to get the guest OS to talk to the home OS and connect to the Internet.
My only problem is that the tap interface and bridge interface disappear when I reboot and then I have to issue the commands to set them up all over again. I know there is a way to write a script to run on boot to create them and bring them up, but my whole technical career has been with CLI-based stuff, not scripting. I'd like to eventually learn it, but I'm a learn-by-doing type. Basically I need the following commandsto be implemented at startup:
I just recently installed ubuntu 9.10 in my upstairs computer. It is a single boot system.Downstairs I have a dual boot system. I have windows vista and ubuntu 9.10 installed. It worked fine. I wanted to make this a single boot system and uninstall ubuntu 9.10. I cannot get rid of the grub bootloade
I need to run to terminal commands at boot to get my wireless card working, the included drivers with ubuntu dosen't work for my card so I compiled my own broadcom drivers. I am on 9.10 ubuntu. I need these commands ran at boot in order for my wireless to work.
#sudo modprobe lib80211 #sudo insmod wl.ko
I have done these commands as per the readme included with the source files.
# load driver as described above # cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless # depmod -a
When I try to run programs from root terminal I get the error
Code: Select allQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. No protocol specified kate: cannot connect to X server :0
I found a solution: I do Code: Select allxhost SI:localuser:root
but I have to do it after each reboot. I tried to put this command in rc.local but it did'nt work. How to do this auto?
I'm trying to run ubuntu 11.04 (64-bit) on my hp pavilion tx2100ed but it won't boot. After the grub bootscreen it goes black and doesn't react to Ctrl-Alt F1 ..F4. Also booting the recovery mode doesn't work To be able to start the installer I had to use xforcevesa. Does any one know what this can be and how to solve it?
can i force x to start in vesa mode using grub commands?
I've been using opensuse 11.2 and windows xp at parallel. After I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.
I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.
After all, i boot with opensuse livecd to run the grub and got my opensuse back.
How can I installed windows on a opensuse installed system? My plan was first to install windows xp, then opensuse again.
I have a server in which I'm trying to install Debian into. There's no BIOS, only EFI boot. The vendor locked it down so there's no way to see it or get into it.
The Wheezy 7.8 netinst CD has EFI boot parameters and works on everything I throw it in, except this one server. Booting it up, the code doesn't see the EFI and boots into normal mode, negating every chance to install it (dozens upon dozens of failed installs).
During boot, I press the [TAB] at the Debian Linux installer menu and get the load parameters (/install.amd/vmlinuz vga=788 etc). What parameter can I add to this line to get it to run in UEFI mode so we can install it?
I have openSUSE 11.2 and boot using GRUB. I was looking on start-up options for 11.2 and saw where it said splash=silent and quiet showopts I was wondering what they meant?