Ubuntu :: Modifying Grub2 For Label - Syntax

Oct 29, 2010

After a recent hard drive replacement, I find that I can no longer boot my Ubuntu partition. It seems that Ubuntu set up GRUB to boot using the disk id, which is no longer valid. I've been using the old GRUB for a number of years, and have always used the LABEL= syntax to assure that the correct partition is booted. There is a dire warning in the /boot/grub/grub.cfg file NOT to edit it. With the old grub, it was just a simple matter to change the menu.lst file. What file DOES get edited to make the change for the new drive? Is there an easy way to get GRUB2 to use the LABEL= form that I know and love? Or is it easier just to reinstall Ubuntu when a drive gets changed?

View 4 Replies


ADVERTISEMENT

Ubuntu :: Grub2 Persistent Partition Don't Have The Right File Or Syntax?

Jan 4, 2011

I've read and read & am still no smarter. I've tried to make a persistent partition(one that mounts whenever I boot/login). Either I don't have the right file or syntax, I've given up and need help. Please tell me exactly which file to edit and the proper syntax to put there. The partition on my machine I want to do this for is "sdb2" uuid "02f5852a-c3e2-47e8-b1dd-93592f1f87ee" label "archives"

View 5 Replies View Related

Debian :: Umounting With LABEL=label In Fstab ?

Jan 31, 2010

I'm having trouble umounting partitions.

This is the entry I have in /etc/fstab for backup:

I can mount it ok:

But can't umount it:

View 3 Replies View Related

General :: Difference Between 'LABEL=/1' And 'LABEL=/'

Jun 2, 2010

I have to configure "Oracle Ent Linux 5" in different two server.

After installing the server ,I observer that the grub loader entry are different like:

Machine 1:

Machine 2:

Here , I don't understand the difference between 'LABEL=/1' and 'LABEL=/' .

View 1 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

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

Installation :: Install Ubuntu Without Modifying MBR?

Jul 3, 2011

When I installed ubuntu on an HD with an existing OS it placed GRUB in the MBR without asking. Maybe there was an option that I missed? How do you I tell the installer to confine itself to the install partition and leave the MBR alone? (I'll use the system BIOS to select the boot partition).

View 9 Replies View Related

Ubuntu :: Modifying Nautilus Navigation Buttons?

May 29, 2010

Does anyone know how to modify the Nautilus Navigation buttons :Is it related to the theme ? If so how can I modify them.

View 4 Replies View Related

Ubuntu :: Modifying 10.04 Default Install Theme ?

Jun 2, 2010

I recently started using remastersys to make distributable copies of my install, but I have a problem: since I chose not to include personal information, it doesn't include my current desktop theme or the AWN dock at the bottom in the finished live CD .iso. How can I change this behavior and keep the dock and my current icon theme, metacity theme, etc. and have it installed and turned on by default?

View 2 Replies View Related

Ubuntu Networking :: Can Hostnames Be Setup Without Modifying

Jun 24, 2010

Every time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.

View 4 Replies View Related

Ubuntu :: Modifying Files With-in The File System?

Dec 28, 2010

I'm having difficulty installing a MOD for Lpanzer because I can not modify any files in the file system because I'm not the owner. According to permissions Root is the owner. So how do I either tell Ubuntu I'm the owner? Or do I need a utility program to get things going?

View 3 Replies View Related

Ubuntu :: Modifying Location Of Gnome Window?

Feb 3, 2011

Does anyone know if it's possible to specify a screen location when opening a window in gnome? I have created a custom launcher on the top panel in gnome. It launches a bash script that I wrote, but the script requires input that can change. The launcher command is like this:

Code:
gnome-terminal -x bash -c "buildit"

The functionality of it works great. What I would like to do however, is control where the gnome-terminal window actually opens. It seems be random and based on other windows that are open. So sometimes it opens on the top-left of the screen, other times it's the bottom-left, etc.

I use Compiz as my window manager (e.g. under System > Preferences > Appearance > Visual Effects I have chosen the "Normal") with an Nvidia 8600GT (driver version is 260.19.06).

Is there some way I can control the screen location (maybe specify the x,y coordinate) of where I want this window to open? Ideally it would be great to force the window to open directly below the icon in my panel. Is this even possible?

View 1 Replies View Related

Ubuntu :: Unable To Login After Modifying .profile

Aug 17, 2011

Changed environmental variable PATH in Ubuntu after installing Android SDK. Now I am unable to login! Think I changed the wrong thing.

Can I undo my change?

View 3 Replies View Related

General :: Modifying Red Hat 5.4 ISO Image?

Mar 30, 2010

Basically I am trying to add a new driver[megasr] into the ISO image, hence performed the following :

1. Mounted the RHEl5.4 ISO image

2. Copied the initrd.img to a temporary directory, performed changes to add the new driver in the modules.cgs, updated the corresponding files and recreated the modules.cgz file module-info modules.alias modules.cgz modules.dep pci.ids

3. Copied back the newly created initrd.img file into the isolinux folder.

I tried to burn the ISO and install it, but it seems that the new driver does not get loaded. I am unaware of any other changes?

View 1 Replies View Related

Fedora :: Modifying The File System?

Sep 18, 2010

How can I become root outside of the terminal? I want to be able to manipulate the file system (i.e. move files, delete files, rename files) in the file viewer GUI (not sure what it's called; I'd say "Windows Explorer" if I were talking about Windows).

Also, how can I manipulate (move, delete, copy, rename) files inside the terminal?

I do understand how to move around (change the working directory) in the terminal, and how to become root in the terminal, and naturally I understand how to move, copy, blah blah blah. I know the basic basics (just letting you know, I'm not the type of person who knows less about computers than a rock does).

View 2 Replies View Related

Programming :: Modifying Hex Values From A Script?

Nov 11, 2010

I can use hexedit to manually edit one or two hex values in a binary file, but if I want to change many of the, this is impractical. Is there any tool that will take parameters like Code: someTool filename byteNumber replacementByte ?

View 3 Replies View Related

Red Hat / Fedora :: Modifying Rights Of A Directory?

May 5, 2010

i cant change rights of a folder although am connected as root, i typed : chmod 777 cdromand it said : read only acess

View 7 Replies View Related

Networking :: Run The Interfaces File After Modifying?

Jan 26, 2011

I change the interfaces file to activate the DHCP service for my eth0.

How do I make the service active without booting the system. In other word, how do I run the modified interfaces file?

View 4 Replies View Related

Software :: Modifying GRUB Stage1

Jan 12, 2011

Hi All,

I am using legacy grub(0.9.7) as my boot loader. I want to add some code into GRUB stage1. But I am getting following error.

stage1.S: Assembler messages:
stage1.S:591: Error: attempt to move .org backwards
stage1.S:603: Error: attempt to move .org backwards
make[2]: *** [stage1.o] Error 1

It seems like Stage1 code is starting after BPB only. Is it possible to use BPB section for GRUB stage1 (GRUB is installed in HDD)??

If yes, how to change the code start to BPB section??

View 1 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

Debian Multimedia :: Gconf-editor On Modifying The URL?

Jan 19, 2011

I use Debian Lenny and iceweasel as my browser on a gnome core desktop. I also use JFOREX (java application) for my trading platform. It works fine. The problem is when I click on portfolio statement in creates an error which states: "Error in launching web browser". I googled the error on the web and read some sites and it says that I should install gconf-editor and modify the URL handlers in order to point to iceweasel.

The problem is I am practically a noob when it comes to gnome and sadly I am not technical enough to understand the values that needs to be changed using gconf-editor.

View 4 Replies View Related

OpenSUSE :: Modifying Files On Windows 7 Partition?

Mar 22, 2011

I am using open suse 11.4 on my dual boot laptop, and am trying to access and modify files that I have on my windows 7 partition, not sure but think they are ntfs directories. I can access and view them but need to be able to modify them.

View 3 Replies View Related

General :: Hide The Presence Of A File By Modifying The Gid/uid?

Jan 8, 2011

Whether we could hide the presence of a file by modifying the gid/uid?

View 1 Replies View Related

General :: Scripting: Modifying SQL Fields Dynamically?

Feb 22, 2010

I'm looking for a way to dynamically modify a fied in the SQL file.

Example,

INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10023,SOMEDATA, SOMEDATA);
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10098,SOMEDATA, SOMEDATA);

[code]....

The third field in this SQL file is what needs to change to n+1

"10023" needs to change to "1"
"10098" needs to change to "2"
"10123" needs to change to "3"
"10983" needs to change to "4"
etc...

I tried with awk and sed, but since both require the usage of ' (single quote), my variable fails to get updated. I know i can use cut and recreate the sql statememnt, but i believe there should be easier way using sed or awk. Would anyone know of any creative way to get this to work in one-liner? This needs to be a part of the script preferable without making call to external file.

View 1 Replies View Related

Networking :: Update Tcp Checksum After Modifying IP Address?

Jan 31, 2009

I am writing a program which modifies source IP address of packet before writing this packet to tap interface. I face only one problem with tcp checksum. I have current checksum, to get new checksum, I add new source IP address and add one complement of old source IP address. That is, I update checksum with difference of old and new source IP address. It sounds not bad but does not work.

View 1 Replies View Related

Programming :: Modifying The Elevator.c Module In Kernel?

Feb 22, 2011

There is a file called elevator.c. It is written as a module (i.e it has specific init and exit functions). However we are not able to see it in lsmod listing. We are working on a project where we need to modify this file. Compiling every time we change something will be time consuming. Is it possible to compile just this file and insert it as a normal module?

View 6 Replies View Related

Programming :: Modifying Timestamp Variable In Python?

Oct 29, 2010

I've implemented a python script in conky that shows my stock portfolio.But, in the output of last updated timestamp, I get a time several hours in the past. The url for fetching stock data is: [URL]This is a norwegian stock, and I also live in norway. So the timestamp is not translated to the stock market of where it came. I can't find any 'localizing' stuff in the url either.Now my question is this: The script puts the time into a variable, the varable now contains ex 11:23 Is there any way I can add 6 hours or so to this variable

View 3 Replies View Related

Ubuntu Networking :: Router : No Connection After Modifying Port Forwarding Settings

Sep 2, 2010

what I have: Belkin G Wireless Router Model F5D7234-4. To attempt to get Subsonic working, I changed the port forwarding settings (Belkin calls it Virtual Servers) to forward port 4040 to my desktop computer. I then saved changes, and my wireless disconnected. I waited about 3 minutes, and nothing was happening, so I restarted my router. This left me in the position that I am in now. Even when the router and modem are fully booted, the router does not broadcast my SSID. In addition, a wired connection will not connect to the network through the router. This leaves me completely unable to use wireless, and unable to change any settings in the router.

View 3 Replies View Related







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