Ubuntu :: Using "cat" Command Within Menu.lst [Grub4DOS]?
Feb 24, 2011
First of all, I'm far from beeing a Linux or any other OS expert, so excuse me if my questions are dumb
I use grub4Dos to boot on an USB stick and launch various windows tools/installers.
The problem here is that windows 7 and vista installers both use a 'BOOT' folder containing the boot config files. (dcb, boot.sdi and some other stuff).Of course I can't have 2 folders with the same name at the same place (here the root of my usb stick).
So here is what I d'like to do :
I saw ( here url )
that grub allows the use of the cat command, which should allow me to change the content of the files in the 'BOOT' folder before chainloading any install.
Unfortunately I can't find a way of doing so.
Here is what I tried :
Code:
title Install Windows 7
root (hd0,0)
cat (hd0,0)/WIN7/dcb > (hd0,0)/BOOT/dcb
cat (hd0,0)/WIN7/boot.sdi > (hd0,0)/BOOT/boot.sdi
chainloader (hd0,0)/bootmgr
when I boot on my usb stick and try to launch the entry 'Install Windows 7' the cat command fails to find the files.
View 2 Replies
ADVERTISEMENT
Jan 30, 2010
I just finished an install with 4 OS's. DOS, XP, WIN7, and UBUNTU. They work fine no with problems. However, the menu entry to run memtest does not work, However on my other system it works. The failing system is an i7 and the working one is a Core Duo. Both have a lot of ram. The Ubuntu os was copied with GPARTED. So it is identical.The menu.lst was a copy/paste job and then the HDxx's modified as needed. Please take a look and tell me where I went wrong.menulst.txt
View 4 Replies
View Related
Nov 8, 2010
I can install grub4dos from Windows, but I dont understund how to nstall it on Linux. The only manual for that tell me that information:
Code:
Install GRUB for DOS boot code to the MBR of IDE channel 0, primary drive under Linux:
bootlace /dev/hda
I want to do it by a live CD. For example, I have Fedora and Ubuntu live cd. Where can I copy bootlace command and later how to execute it to install grub4dos under Linux?
View 3 Replies
View Related
Jul 26, 2010
I built a multi-boot flash drive using the instructions here but unfortunately, those instructions don't include gparted, and I much prefer gparted to the partition managers that are included. How would I go about loading gparted with grub4dos? Either the zip or the iso version is okay with me, I just want to be able to load the live version of the program. I do know that it is included in the ubuntu livecd that I have loaded on the flash drive, but I prefer the standalone version.
View 4 Replies
View Related
May 29, 2010
Anybody here know anything about grub4dos? I'm building myself a multiboot flash drive using grub4dos and one of my commands on the menu, obviously, is shutdown. This should be simply "halt" but every time I launch that command, or if I type it into the grub4dos command line, the computer locks up and I have to do a hard reboot.
View 9 Replies
View Related
May 13, 2011
I am using grub4dos 0.44 but can't boot directly into Kubuntu. The bootup freezes at the step of reading the initrd. Can't copy 'n paste the exact bootup-message but it looks similar to this one, I found on another forum-thread:
Code:
Filesystem type is fat, partition type 0x06 [Linux-bzImage, setup=0x1400, size=0xcff87] Unlike the guy who posted the two lines above, I installed Kubuntu on an ext3-partition (hd0,5), (which is /dev/sda6 in Ubuntu) and without an own bootloader, since I wanna use grub4dos instead of grub2. The installation is fresh - the initrd-file shouldn't be broken. My menu.lst looks like this:
[Code]..
View 1 Replies
View Related
Jul 9, 2011
I would like to install opensuse from hard disk, using GRUB4DOS (or other bootloader). My old notebook has broken cdrom and does not have support for boot from pendrive/external disk. Anyone tried this installation? I have installed Mandriva/Mageia exactly what I'm saying.
Installing Mandriva Linux - Mandriva Community Wiki
View 1 Replies
View Related
Dec 9, 2009
I got these when i try to install Fedora 12 from harddisk using grub4dos.
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue
Boot has failed, sleeping forever.
View 4 Replies
View Related
Feb 15, 2011
A kind fellow Linux enthusiast told me about DrummerDP project grub24dos.
Here is two links to it.
grub24dos announcement on Reboot
grub24dos on SourceForge
Iam not on that level so I can only trust his words for it. He start up on MsWindows and install it from that OS.
He recommend one do a back up first in case something unexpected happen No warranty.
The very good thing is that it gives grub2 ability to boot isos on a NTFS formatted HDD. Isos that one otherwise had needed to place on a Ext2 formatted partition and that could serve those who want to preserve windows for Gaming?
View 3 Replies
View Related
Feb 18, 2011
I want to boot Slitaz on an old laptop that can't boot from the CD drive, so I need a boot floppy which can in turn boot from the CD.Over on http://slitaz.org/en/get/ there is a link to download the floppy-grub4dos boot disk, but the link is broken. Is there an alternate source for this disk?
View 2 Replies
View Related
Jul 14, 2010
if not please redirect to correct area. I will start by saying I know very little about Linux beyond simple usage. My question is about "Syslinux Bootloader chainloaded to GRUB4DOS"
Pendrivelinux has a really awesome utility, one that I have been searching to find for many years. It allows you to put multiple ISOs onto a single USB and selectively boot the images. Mast are live Linux OSs, or repair disks, there is even an option for a Windows install disk. The "menu" is configured for about 30 ISOs right now, and I believe it uses a Grub loader. The link below will take you to the wbsite that hosts the utility download link, lists all the currently supported ISOs, and has the very simple instructions.
url
Once you download the app. there is a file called "menu" that you can edit the list of installed images on the USB drive. I have put:
4-5 Live Linux ISOs
Windows 7 Install files
4-5 rescue CDs
on my USB stick. I deleted the menu items I do not use (a lot of them), and reorganized the menu to my liking.
I know NOTHING about how to figure out the Linux code language. I want to add the following ISO images to the USB, but I am unable to figure out how to write their use into the menu.
Hirens boot CD
Windows XP repair disk
Acronis True Image 2010 recovery disk
I have tried altering already made menus with no success, and I dont even know where to begin. If some of you might be willing to DL the utility, look at the menu structure, I would be very appreciative. I know that you will probably need the ISO images, but they are fairly common. While I am very new here, I am very familiar with forums in general, and would be happy to make a donation for the help, like I said, I have dreamed of such a multiboot solution for many years, and would love to see these added to the options, making it a truly ultimate bootable USB.
View 4 Replies
View Related
Jun 10, 2010
When I first turn on I get the windows boot manager where I can choose between openSUSE 11.2 installer (LOCAL) and Windows Vista. Selecting either has the same result of trying to boot the openSUSE. This results in error 17 and pressing any key takes me to the GRUB4DOS where I can get to the command prompt.
View 9 Replies
View Related
Feb 6, 2010
I just installed avg85flx-r732-a3168.i386.deb, but I can't start AVG from any menu or command. (Not even in System Menu). So, how can I start it?
View 5 Replies
View Related
May 15, 2011
I,m using Fluxbox and I would like to add a system command to the menu,
Code:
du -h --max=1 | sort -h
I have it partly configured but when I start it, it runs for about 2 seconds then the term disappears you dont get time to see output is there some way to keep it open till I close it or stay open longer? Top is configured and that stays open.
View 1 Replies
View Related
May 7, 2010
is there a way to add a 'run as root' command to the right click menu? so i could right click on a launcher, or a file in /usr/bin(or some other no editing folder) and easily run as root?
View 5 Replies
View Related
Jul 8, 2010
I want to find a way to bring up the session menu without using the Indicator Applet Session in the default gnome panel. I've figured out how to do this for the main menu with a keyboard shortcut (Alt+F1). And I found Ubuntu documentation here that says Super+Esc will bring up the Sessions Menu in Lucid but it doesn't work for me. I could create a custom launcher if I knew what command would bring up this menu but I can't find any info on this. Basically I want to get rid of the default gnome panel but still have the functionality of the Sessions Menu.Note: I removed the Me Menu from my Indicator Applet Session by running sudo apt-get remove indicator-me in a terminal. Would this be interfering with the keyboard shortcut?
View 2 Replies
View Related
May 13, 2011
I explain in with an example:
Imagine you want to know which command is carried out when, after executing gnome-mouse-properties, you go to the Touchpad tab and click on "Enable mouse clicks with touchpad".
Another example:
Imagine you want to know the command that is executed when, after running gnome-appearance-properties, you go to the "Visual Effects" tab and click on None.
I've had a look via gnome-system-log in all the log files of the left with no success. Perhaps the commands that run when one changes things in the GUI menus are logged in some other file. Or perhaps they are not stored in any log. In this case there is probably some terminal command to know it, or some program for this.
I think that know that no xorg.conf is used by default this is something to have into account.
View 3 Replies
View Related
Sep 10, 2010
I would like to use the keyboard shortcut of <Super>Tab to open the main applications menu.
What is the command for opening the main applications menu? I have searched but cannot find it.
View 2 Replies
View Related
Oct 20, 2010
I was wondering, is it possible to open Ubuntu's main menu from the command line? I've been searching for the answer for about 30 min's now but no luck.
View 3 Replies
View Related
Sep 20, 2010
I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly. What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype. So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)". I tried editing .bashrc and added the following line:
alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'
Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.
View 6 Replies
View Related
Mar 6, 2011
I've modified by mistake my menu.lst file. Both menu.lst and grub.conf are empty. how to fix this? Is there any command to quickly rewrite those files?
View 2 Replies
View Related
Jan 9, 2010
Here's the situation:
I have Ubuntu 9.1 with wubi and Vista on my laptop. I was playing my laptop through the TV, then I tried to switch it back to computer control and the computer went black. I had to hold to power button to restart, and suddenly grub4dos starts up when I try to launch ubuntu. I can still launch Vista. Is there anything I can do to save my system? At the very least, I would like to be able to copy data from my ubuntu system to my vista system. How can I do that? I can't find C:/ubuntu/disks. It doesn't seem to exist.
View 1 Replies
View Related
Aug 10, 2011
ing Fedora 15 x86 with gnome 3.Here is the problem with "open with" menu.I cant indicate custom command. here is screenshot:
View 3 Replies
View Related
May 20, 2010
I have fc12.x86_64, installed wireshark yum install wireshark.x86_64 and wireshark.i686but can't see in kde menu or in command prompt (wireshark) but can see dir whereis wiresharkwireshark: /usr/lib64/wireshark /usr/share/wiresharkAny help/url to install and run in fc12 kde environment
View 4 Replies
View Related
Dec 1, 2010
Running Debian Squeeze and OpenBox. I added the command: "gdm-control --suspend" to my OBmenu but nothing happens. When I run the command from the terminal, also, nothing happens. Yes, I did actually Google. Anyway, proper suspend command from the OpenBox menu?
View 14 Replies
View Related
Jun 28, 2010
I'm wanting to be able to run the Open Suse start menu from the command line.king remotely, I have found that I have faster response time by only running specific X components instead of an entire desktop (particularly useful under Windows 7 Cygwin). Specifically, I'd like to invoke the start menu from a ssh command line.On Linux Mint,line command is:mintmenuWhat is the equivalent command to bring up the Slab Start Menu on Open Suse?
View 8 Replies
View Related
Jul 11, 2015
I was trying to run a jar file, so after using the "Open With..." context option to bring up "Choose Application", and I opened the "Custom Command Line" tab; I typed "java %f" and set Application name..My problem is that, I was left with an option in the File Properties "Open with:" drop-down box, and more annoyingly, a context menu option above "Open With..." to run .jar files with this useless option I created.
View 2 Replies
View Related
Mar 4, 2010
I have been playing around with Avant Navigator Bar and Gnome Menu Bar and was wondering how to add the run command to these items?
View 4 Replies
View Related
Jan 24, 2011
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
View 2 Replies
View Related
Dec 1, 2010
Code:
grub-install -v
grub-install (GNU GRUB 0.97)
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?
View 1 Replies
View Related