Ubuntu :: Grub2--script Command Doubt?

Feb 23, 2010

I am on my way to coustomize grub2 n believe me i am trying very hard.....I found out about writing our own scriptslike

cat<<EOF
menuentry "Reboot"
{

[code]....

View 9 Replies


ADVERTISEMENT

Ubuntu :: Shell Scripting Command Doubt?

Jan 1, 2011

How do i find out if a particular item is a file or a folder through the terminal ls -la gives 'd' before the permissions for every folder and '-' before every fileLike i want to write a script that backup data if it is a folder and deletes if it is a file

View 2 Replies View Related

Ubuntu :: Installation Doubt Due To Splashtop?

Mar 20, 2010

I saw this new HP laptop at our hostel that has this wonderful splashtop that shows as soon as the power button is pressed(unlike sony which requires you to press a button for booting up the splashtop).this screen has options for internet skype music etc and a boot into windows options.how could i possibly install ubuntu in this...... will grub replace this splashtop........

View 2 Replies View Related

Ubuntu :: Command To Locate Where Grub2 Is Installed?

May 14, 2010

I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation

View 6 Replies View Related

Debian :: Doubt About Apt-show-versions

Apr 25, 2011

I use Debian Squeeze.

Quote:

But if I go to [url] I'll find:

Quote:

So, why the message "newer than version in archive"?

View 1 Replies View Related

General :: Doubt Regarding 389 Server Client

Jan 5, 2010

I have a doubt regarding the 389 Server Client Architecture. Say, I have 389 Server working and I have few Linux Clients. Now you say that if 389 client is configured it will login through credentials which is configured in Server. So what about the local Users on that Client.How will normal users in the Client login?

View 1 Replies View Related

General :: Doubt Regarding Kernel Installation?

Jun 10, 2010

Is "make modules" step needed to install a new kernel ? I want to install the general setup configuration. I don't want to add any modules of my own.

View 4 Replies View Related

Programming :: Pointer As Function Return Doubt?

Jul 15, 2010

I'm getting some information about C language and this session of a C book (follow the above link) is using a bad example for me. When I'm trying this example of function returning a pointer, my compiler is stating a warning that I return a pointer to a local variable. I realized that it is error prone after all this variable may be override before the function has done his execution. And the author is fooling me saying that this example is "perfectly safe". I'm wrong? There is something that I don't got yet? Sorry but this site is preventing me to post the link of book cause I'm a newbie, so a need the hack it. Just strip out the question signs:

{LINK}
?w?w?w
?cs.cf.ac.uk?

[code]....

View 6 Replies View Related

General :: Doubt In Echo A For Beeping An Alert?

Feb 6, 2010

Below is the shell script that I am writing to beep an alert but listen to nothing.

Code:
#!/bin/bash
echo Listen to the alert!
echo -e "a"
echo listened ?

View 2 Replies View Related

Programming :: C++ Dynamic Array Of Struc Doubt?

Nov 28, 2008

I'm studing and making my first real life program in C++. I've got a doubt related with including a string type into a struct when I'm managing memory allocationdynamically.Bellow I copy the test program I did which works ok. But if I try to use string type instead of "const char *" into the struct I receive a "segment violation" error when I run the program. No error messages when compilling it.Does anybody knows if I'm doing something wrong?

#include <iostream>
using namespace std;
struct Datos {

[code]...

View 4 Replies View Related

Ubuntu :: Automatic OS Detection Won't Find It When Run The Mkconfig Command On Grub2's Wik

Dec 15, 2010

I changed the grub2 on my /dev/sda to Arch's version, instead of Ubuntu's, and now I keep booting into the initramfs prompt whenever I try to use Ubuntu. The automatic OS detection won't find it when I run the mkconfig command on grub2's wiki, and I currently have the following in /etc/grub.d/40_custom:

Code:

enuentry "Ubuntu Linux" {
set root=(hd0,3)
linux /boot/vmlinuz-2.6.35-23-generic
initrd /boot/initrd.img-2.6.35-23-generic root=dev/sda3 ro quiet
}

Which according to my partition layout, and a double check on gparted, is correct. Do I need to flag it as boot or something else? I tried putting Ubuntu's grub2 back on with the live cd but it kept saying /dev/ was busy.

View 9 Replies View Related

Fedora :: Doubt In Syntax Of A Generic Make File?

Sep 15, 2010

I was learning to write a make file, I could understand most part of it of course with few exception I dint understand what does the below commands make(red font). I would like to understand what those syntax represent rather than mugging up without knowing what it means.

$(OBJECTS) :%.o :%.c
$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@

clean:

rm -f *.o $(TARGET) core

View 1 Replies View Related

General :: Setting Command-line Console Resolution Vbeinfo In Grub2 Does Not Report All Resolutions?

May 6, 2010

I have a Asus EEE PC 1005P which I installed a Command-line system on using the Alternate Installer CD of Ubuntu Lucid Lynx. Altough I think this is a general linux and grub2 question. I do not have (or want) the X Window System installed. I want to change my console screen resolution (not inside X) to 1024x600. But it isn't reported when I use vbeinfo inside grub:

grub> vbeinfo
VBE info: version: 3.0 OEM software rev: 1.0
total memory: 8128 KiB
List of compatible video modes:
Legend: P=Packed pixel, D=Direct color, mask/pos=R/G/B/reserved
0x112: 640 x 480 x 32 Direct, mask: 8/8/8/8 pos: 16/8/0/24

[Code]...

Does it mean I have the driver? how to set it to 1024 x 600 in grub2?

View 1 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

Jul 11, 2011

I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.

Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.

View 10 Replies View Related

Fedora :: Load Grub2 From Grub4dos / Load Directly Grub2 Core Without Passing By Bootstriping Code?

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

Ubuntu :: Way To Set Key Map In Grub2?

Feb 24, 2010

Is there a way to set a key map in grub2? I know you could do it in grub1 with the setkey option, but that doesn't seem to work in grub2.

View 2 Replies View Related

Ubuntu :: Grub2 On Partition (not MBR)

Jan 20, 2010

I tried searching for this both in the forums and on google but it seems that everything goes back to MBR installation. I know that "grub-install /dev/sda1" should install it to the sda1 partition, but instead of installing it keeps giving me the following error:

Code:
grub-probe: error: cannot find a device for /boot/grub.
No path or device is specified.
Try ``grub-probe --help'' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

I tried this with a fresh installation of Karmic on both of my PCs. I tried with --recheck option as well, same error. Installing it to MBR works fine, but I don't want it there, have another bootloader chainloading grub. Every single guide I found installs GRUB2 to MBR, and some briefly reference to "grub-install /dev/sdaX" without going into any detail. At first I thought the problem was because Ubuntu was installed on a logical partition, so I created a separate /boot partition and formatted it as ext2, still getting the same problem.

View 5 Replies View Related

Ubuntu :: Grub2 And Win 7 - No Such A Device

Mar 30, 2010

Grub2 fails when trying to boot into Win 7 from Grub2 menu. No such a device. I did run boot_info_script055.sh Here is the result:

Boot Info Script 0.55 dated February 15th, 2010
============================ Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for
(UUID=34c6661d-7609-441c-b7b9-1d60d1e44fd5)/boot/grub.

[code]....

View 2 Replies View Related

Ubuntu :: Grub2 Not Finding All OS's?

Apr 13, 2010

I am in the process of trying out different Linux distros. This is what my hard drive partitions look like:

sda1 - Ubuntu
(Free space - about 150 GB)
sda3 - Windows (sadly)
sda4 - Windows Recovery

I successfully installed Fedora to the free space, which is now sda2, but when I was installing, I chose to keep my current bootloader so it wouldn't mess anything up. Now, I can't get Grub to detect my Fedora install, even after running 'update-grub' from the current Grub root (sda1).How can I get Grub to detect my Fedora install?

View 6 Replies View Related

Ubuntu :: How To Recover Grub2

May 27, 2010

Once again an update broke my Lucid When I start my laptop, I can't see the options to choose a kernal or Windows as I used to see before. know my grub is deleted or overwritten after recent automatic update (on 27th May 10). Now I have a bootable 10.04 CD.Please let me know how to recover the grub2. I don't want to reinstall my linux or windows.

View 5 Replies View Related

Ubuntu Installation :: Grub2 Won't See The Xp

Jun 9, 2010

I have decided to dual boot again because I found a old hard drive laying around.

primary drive: sata 500 gb
ubuntu 10.4 64 bit installed with
boot

[code]...

secondary drive: 120 gb ide drive with xp installed. xp was installed first and wrote the mbr to sda1. I then installed ubuntu 10.4 and it overwrote mbr on sda with grub2. I have tried every combination of the 40_custom script for xp I have found here on the forums but to no avail. The 30_OS probe never seems to see it either. Grub 2 will not see xp. I have it in the menu from the custom_40 but it just reboots the system when I choose it. Any advice is greatly appreciated as I am ready to go back to legacy grub which only took 5 minutes to dual boot last time I did dual boot. I want to give grub2 a chance, since it supposed to be better, but I am getting frustrated.

Here is the output from the boot info script.

Code:

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb

[code]....

View 8 Replies View Related

Ubuntu :: How To Reinstall The Grub2

Jun 18, 2010

I'm a hardcore ubuntu user and have ubuntu 10.04 on my dell Inspiron 1525. I dual booted it with fedora 13 recently and fedora grub has wiped out ubuntu grub2. I want to re-install grub2.

View 4 Replies View Related

Ubuntu :: GRUB2 Has No Entries?

Jul 11, 2010

Intalled GRUB using Live CD. My problem is very similar to these..

Code:
1. sudo grub-install --root-directory=/mnt /dev/sda
2. sudo mount -o bind /dev /mnt/dev
3. sudo mount -t proc none /mnt/proc

[Code]....

View 1 Replies View Related

Ubuntu :: Write Grub2 To MBR?

Jul 19, 2010

I have made a new /boot/grub/grub.conf file.

How do I write it to MBR? Do I have to be running from CD?

I can't find new Grub2 instructions anywhere.

View 9 Replies View Related

Ubuntu :: How To Disable Grub2

Jul 19, 2010

After the nightmare of installing Ubuntu10.04 as my second os, with windows 7, dual booting using grub 2 ( GRUB PUTS NOT FOUND). I am using wubi and the win 7 bootloader, I still have the splash screen of grub 2 after I select Ubuntu off the win7 boot loader. I really don't think I need this. Could I get rid of the grub 2 loader, it really doesn't serve any purpose except take up boot up time? go easy, it took me a while to figure out how to shorten the DEFAULT boot load time in grub 2

View 2 Replies View Related

Ubuntu :: 2 Mac OSX Entries In Grub2?

Aug 10, 2010

There are 2 osx entries in the grub menu one is 32-bit and the other is 64-bit, how i can get rid of the 32-bit one? i am using ubuntu 10.4 and snow leopard 10.6.3

View 9 Replies View Related

Ubuntu :: Set Grub2 Splashimage?

Aug 15, 2010

Can anyone post the methods to set grub2 splashimage?

View 5 Replies View Related

Ubuntu :: Can't Get Osx To Launch With Grub2

Aug 29, 2010

I have an acer aspire one. I had iPC osx86 10.5.6 installed on it. then I installed ubuntu 10.04.1 and now i cant get OSX to start up. OSx shows up in grub but when i select it i just get a blank screen.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved