I am trying to run Memtest86+ on my Linux computer. I use Grub 2, and Memtest86+'s core is located in /boot/memtest86plus/memtest.bin file.It seems to be pretty newbie error, but I can't find any documentation covering this problem.If I use linux16 instead of netbsd, computer just restarts without any error.
If at all possible I would like ot keep the GRUB loader and repair my situation.My slave drive has Windows 7. My master had Ubuntu on it. When it installed it added the GRUB loader.I replaced it with Fedora, but now the GRUB loader says it can't find the drive and bails to grub-rescue.If possible I would like to keep the grub loader. If I can't repair this, is there a way to uninstall it and reinstall it.
I'm running Slackware 13 - xfce4 and I got a new session in background. How could I see that session and use it? In backtrack I'm doing it via sessions in terminal but im Slackware 13 session command doesn't exist.
So I want to run command through ssh but also run a if check in bash to see ifa file exist. I know that to run ssh commands you do ssh user@server YOURCOMMANDbut if i need to run an if statements, how would this work??
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
I can do:mkdir messages and then: touch messages/hello.txt Is there a command that will do both - create the directory if it doesn't exist, and then the empty file? Something like: touch -p messages/hello.txt
I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:
Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:
All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.
My question is: How do I get /dev/sda available in my chrooted environment?
I installed ubuntu on my internal hard disk I experienced a problem with Grub and I just formatted all the Ubuntu Partitions and convert their format to NTFS to restore my windows (I have a backup) but now despite of I format all the Ubuntu's partitions but in the boot time, the grub exist and the grub apear I want to know where does grub exist? I installed ubuntu on the dual booter situation and it was ubuntu 9.10
Plan to use GRUB for multiple booting to select the OS but only with luck have I got it partially to work. Windows 98 and Puppy 431 O.K on first HDD but Puppy 421 on second HDD /dev/sdb1 stops at error 21.
I would like to find where logs form dmesg(command) are stored on my hdd drive. I'm testing broken hdd with badsectors, and I've got some i/o errors, that I can read (just the most recent) using dmesg command (dmesg buffer). I would like to see whole log, that is interesting for me, but I cannot find where it is stored in /var/log
dmesg command(buffer) (last few lines) Code: [245129.080558] end_request: I/O error, dev sdb, sector 218246624 [245129.080562] Buffer I/O error on device sdb, logical block 27280828 [245132.037921] sd 2:0:0:0: [sdb] Unhandled sense code [245132.037925] sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [245132.037928] sd 2:0:0:0: [sdb] Sense Key : Medium Error [current] [245132.037932] sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error [245132.037936] end_request: I/O error, dev sdb, sector 218246624 [245132.037940] Buffer I/O error on device sdb, logical block 27280828 .....
I have recently installed Ubuntu Karmic on my laptop, which also has Windows 7. It now has GRUB, and I have been able to modify some settings via the GRUB command line. However, these changes are not permanent; they are reset the next time I load GRUB. I have seen many people trying to configure GRUB who have been pointed towards /boot/grub/menu.lst. I expect it would) I went to edit that file... and discovered that it did not exist. I am certain that I am using GRUB, not some other bootloader. Is there another possible way to configure GRUB, or somewhere else I might look for this file?
I have a dual boot windows XP/ubuntu 9.10 set up on one hard drive. Everything was working fine. The 9.10 install had been updated from 9.04. I recently had problems with the XP partition (XP basically collapsed) so I re-installed XP on the same partition it was on before. I then attempted to reinstall Ubuntu ( I decided I wanted a new 'clean' installation of Ubuntu as well). When I got to the partition function it refused to recognize that there is a Windows partition, or a previous ubuntu partition, but states 'No operating system installed' or similar, and offers the entire hard drive for installation. When I look at the partitions using Windows partition software the Windows and the ubuntu partitions are clearly in evidence. I have also tried to reinstall GRUB but it doesn't appear to exist.
I am trying to change to boot order in grub, but I keep running into the same problem.I find instructs me to go to /boot/grub/menu however that file doesnt exist on my computer. in my /boot/grub directory file names go from memrw.mod to minicmd.com with nothing in between.I am using an up to date release of Karmic Koala.
This should be simple but I can't seem to find what I am looking for.I want to search a text file for the existence of certain strings and execute a command if they exist, something along the lines of:
if <string> exists command or
if <any member of this list exists> command
I know how to manually search a file with grep, cat, etc., but the "if this exists" part eludes me.
today i changed my grub boot order, and to make that work i need to do sudo grub-update.however, it doesnt work. does anyone know why, maybe the command changed?
I just got a laptop (DELL PP06S) from a friend set up on kubuntu. He told me to download and run the updates packages if I had time. So so did I and now the computer stops on an error at boot and I can't log in at all to type any command. The error message coming up is:
And it seems to try that action over and over but I never get to log in and type any command. I got told to check the drive cables connections, which I did but it made no difference. I also got told that I could try to start with an older kernel, I tried all the different kernels available in the GNU GRUB but no success. The different options availables are:
Ubuntu, with Linux 2.6.32-26-generic Ubuntu, with Linux 2.6.32-26-generic (recovery mode) Ubuntu, with Linux 2.6.32-25-generic
[code]....
From my understanding these are the new and older kernels, is that right? I had to do the updates in 3 times so I guess the kernel from before then isn't in the list anymore. Every one of them shows the same error message and no way to get a console. So I can't type any command. Though, I found out that I can type commands in the GRUB, is there any way to change the kernel from the GRUB? If so what would be the commands?
I have done the kernel compilation for linux-2.6.38.5 I have perform all the steps well ,once i am updating in /boot/ grub/menu.lst & giving command update-grub it showing this error
Code: [root@localhost grub]# update-grub bash: update-grub: command not found I have install it also through Code: yum install grub I gave this command Code: grub-setup --version still same error ]grub-setup not found
I am learning Linux administration and I am new in this area. Currently I am trying to find out which drive has grub.conf file. Following commands giving me correct output (hd0,0):
Running Ubuntu 10.10. My desktop environment is screwed up and won't let me use the keyboard or mouse at the login screen. How can force a command prompt during boot?
Here's a method:
Alt-SysRq-e - Requests kernel kill all processes except init.
I have both windows7 and Linux 10.04 installed in my system. The problem occurred on a forced shut down.The message which is appearing on the screen isgrub rescueNo such partitionNo command other than ls and set are working. Set shows root to be in (hd0,6). ls is not listing (hd0,6)The ls is not able to read any of the partition it lists and shows error:unknown file system.
It used to be with (old) grub you could hit a function key and add a runlevel option to boot a console, but I don't know how to do this here, wanting not to edit the grub config file, as seems the only apparent option: I'm trying to boot into SimplyMepis where there is no rescue menu option, so need the prompt?
I have Microsoft Windows Xp installed on my Primary Drive C: and I had a Mint boot disc that I would pop in and load from. Well I got tired of this disc and installed a new hard drive in my computer so I could use Mint as a secondary OS. Everything went good in the install, and I put Mint on the second drive. But when I boot my computer the GRUB menu only shows Linux Helena Mint 8 to load from and no Xp. Xp is still currently installed on the computer in the Primary drive, but how do I inlcude it in the GRUB boot menu or boot it at all?
I am trying to use netboot functionality available in GRUB(legacy). I just compiled GRUB with --enable-diskless and --enable-rtl8139 options and installed in USB flash drive. I am getting the grub prompt when tried to boot from that USB. But not getting boot command..what i need to do to enable boot command??
I am running Natty Alpha 3. I used Update Manager to install something (not sure what it was), then I restarted, but instead of listing all the kernels, it gave me a command line. I don't know what happened and how to use it.
I created a new partition in Windows Vista which, after rebooting, screwed up Grub. I believe that I need to reinstall Grub and everything should be fine, and I remember reading the command to do this on this forum, but I can't find it. When I boot, I now get a black screen with white letters instead of the Grub boot menu. It says something about "Minimal Grub" at the top and gives me a prompt that looks like this.
grub>
I can boot the live CD and I have internet access with it, but I can not remember the terminal command to repair Grub. Can someone tell me this command?
A failed upgrade, from disk images, of Fedora 10 to 11 resulted in no GRUB bootloader main menu appearing on bootup (no WIN, no LINUX choices from which to boot). I am booted directly into the GRUB command shell...so, no WIN, no LINUX, nothing. And my understanding of GRUB shell commands is very low.I have 2 hard disks, WIN on the first, LINUX on the second. I believe GRUB Bootloader is on the first disk.Sadly, I have no external install media.An old grub.conf hardcopy indicates that root =/dev/sdb2, root (hd1,0), kernel /vmlinuz....olderversion...(relative to /boot),initrd /initrd...olderversion... (relative to boot). and WINDOWS on (hd0,1), with chainloader +1
I need to somehow get past this grub shell, and re-install/re-instate the grub bootloader, so it can boot normally.What grub command(s) must I use? I've played around with the commands, but with no success.I worry that if I can't resolve this, the whole machine may be useless.
I loaded GRUB, and now when I reboot it goes straight into the 'grub>' command line. Initially GRUB had the root as (hd0,2), whereas the boot is on (hd0,1)...(hd0,2) is my '/home' partition, and (hd0,1) is my '/' partition... So on a bootup I ran...
Code:
root (hd0,1) setup (hd0)
Now when I boot I still get the 'grub>' command line, but now the root is correct.
From 'grub>' I can type...
Code:
grub> configfile /boot/grub/menu.lst
GRUB will then show the menu, and I can click the listings to load them. All's fine, but why doesn't GRUB just load the menu.lst without my prompting? How can I automate this process of typing 'configfile /boot/grub/menu.lst' each time I boot?