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


ADVERTISEMENT

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

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

Debian Installation :: How To Format Persistent Partition (EXT2 / FAT32)

Feb 18, 2011

I have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?

View 1 Replies View Related

Debian Configuration :: Custom Amnesic Live CD With Persistent Partition

Nov 9, 2015

I want to customise an amnesic Debian environment (like Kali Live CD) with everything (Users, background, icons, etc.) set up to work the way I need. This OS should be inside a memory stick, and, most important, it has to have an encrypted partition I can mount and unmount whenever I want to save persistent data.

View 5 Replies View Related

Debian :: Create Customized Live USB With Persistent Home Partition

Feb 3, 2011

I have Lenny installed. How to create, using live-helper customized Live USB with a persistent /home partition on this USB stick, to save changes between boots?

View 6 Replies View Related

Ubuntu :: What Is Syntax Have To Put In Fstab In Order To Have Whole Partition RW?

Mar 16, 2011

I just installed, partitioned and formatted a new 500GB hard drive (EXT3) on my system (10.10)What is the syntax I have to put in fstab in order to have the whole partition RW? It is currently read only.Drive name is sdb1, mounted as /500GB.

View 2 Replies View Related

General :: Make System Partition Letter / Number Designations Persistent?

Aug 15, 2010

Everyone who deals with Linux knows that partitions on hard drives are designated as "sdx#", i.e., sda1 sdb2, etc. I know through experimentation that the number portion of the designation is assigned not according to order on the disk, but chronologically in the order they are created.

Further, if you have several partitions on the disk-say, sda1 through sda3-and you delete sda2, the designation of sda1 will remain the same, but sda3 will become the new sda2. The creation of any further partitions on the drive will start with designation sda3 and increment from that point.

At times this creates a conundrum, especially concerning bootable partitions. Some time back I rendered a partition containing OpenSUSE unbootable because of this, even though Ubuntu owned the GRUB bootloader in the MBR. Ubuntu's GRUB could find and point to the partition using the command "sudo update-grub", but when OpenSUSE took over the boot-up process, its GRUB was pointed to the wrong partition and would freeze up.

My question is this:

Under Windows, one is able to make a Drive letter persistent. Windows will keep the drive letter for that partition and assign around it. Is there a way to change a drive designation number, or at least make it persistent, under Linux? It would be a handy method to forestall these types of booting problems, among other things.

Presently, when a person has installed Linux side-by-side with Windows and want to delete the Windows partition and expand the Linux partition into the free space, I will tell them to format the partition, then shrink it to next to nothing instead of deleting it. This preserves the partition ID scheme while giving them the space to expand their Linux partition into...especially helpful with a seasoned Linux installation that would be a PITA to reinstall and set back up.

Oh, and I already know about UUID. This article explains it, but if you look down through the comments, you will see reasons that it is problematic for desktop application and usage. I want to make it as simple as possible for new Linux users (and myself! ).

View 4 Replies View Related

Fedora :: F14 Live USB - Overlay Persistent File Space

Nov 20, 2010

I just set-up my fedora-14 live usb on an 8gb usb hard drive but I see the space left on '/' is less than 800mb (I created a 3.5gb persistent file) like so:
Code:
livecd-iso-to-disk
--unencrypted-home --home-size-mb 3500
--overlay-size-mb 3500 Fedora-14-x84_64-Live-Desktop.iso /dev/sdc1
but I still don't have much space to install programs.

Is there a way to trick yum into installing programs under /home/liveuser/programs instead ?:
Code:
[liveuser@localhost ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/live-rw 3.0G 2.8G 223M 93% /
tmpfs 1002M 352K 1002M 1% /dev/shm
/dev/sdb1 7.4G 2.0G 5.1G 28% /mnt/live
/dev/loop5 3.2G 130M 2.9G 5% /home
varcacheyum 1002M 0 1002M 0% /var/cache/yum
/tmp 1002M 92K 1002M 1% /tmp
vartmp 1002M 0 1002M 0% /var/tmp

View 5 Replies View Related

SUSE :: Persistent Live USB - File System Appears Read Only

May 4, 2010

I have made a persistent live usb of suse 11.2 using a '.iso' file. Now when I boot from the Live usb, the file system appears read only. I want do some modifications in the files.

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 Does Not Detect Partition?

May 9, 2010

booting 4m external it goes into rescue mode saying uknown partitionwen i boo 4m computer grub it says no such device.Cannot even browse via grub command line. Says unknown partition.Posting via mobile

View 4 Replies View Related

Programming :: Validate XML File For Its Syntax?

Jan 25, 2011

I am having an XML file,i want to verify the file for its syntax,

View 14 Replies View Related

Ubuntu Multimedia :: Ffmpeg : Avi To Mp4 - Syntax And Reduction In File Size?

Mar 14, 2011

I'm using a basic ffmpeg command to convert some avis into mp4 : file01.avi - 544x416, 368MB

Code:
$ ffmpeg -i file01.avi -vb 750k -s 432x336 file01.vb750.432x336.mp4

After conversion :
file01.vb750.432x336.mp4 - 432x336, 302Mb.

If I alter the output file dimensions to 352x272 I then get a file size of 301MB, which is just 1MB less than the file of dimensions 432x336 ? I had expected size to be 30-40MB lower. I do not want to compromise quality by reducing the bitrate to below 750 kb/s so how can I alter the ffmpeg command syntax to get a considerably smaller file size with video dimensions 352x272 ? I would like to use the default codecs and avoid x264 for the mean time.

View 9 Replies View Related

Ubuntu Installation :: Grub2 Can't See Vista Partition

Jan 2, 2010

I have installed 9.10 to an existing Vista machine. Here is the fdisk

Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 9 72261 de Dell Utility
/dev/sda2 10 1315 10485760 7 HPFS/NTFS
/dev/sda3 * 1315 14031 102145543+ 7 HPFS/NTFS

[Code].....

View 9 Replies View Related

Ubuntu :: Can't Mount Partition To Restore Grub2?

Apr 26, 2011

I recently installed windows 7 and of course it got rid of grub2 for me. I tried restoring it but when I try to mount the ubuntu partition (sda3, extended filesystem) I get the error "mount: you must specify the filesystem type"

View 9 Replies View Related

Ubuntu Installation :: Adding A Xp Partition In Grub2?

Jun 5, 2011

i had ubuntu and slackware installed together for a while, i just needed xp to do some native language work so i installed it on my extra partition but then i messed up the grub menu, however i reinstalled it from live cd.. but now the problem is i dont know how to add a xp in that.

i'll give you my fdisk -ls output :

Quote:

/dev/sda1 1 12803 102840066 83 Linux
/dev/sda2 12804 14267 11759580 83 Linux
/dev/sda3 14268 15035 6168960 82 Linux swap / Solaris
/dev/sda4 * 15036 19457 35519715 7 HPFS/NTFS

[Code]....

View 2 Replies View Related

Ubuntu :: Restore Grub2 On Encrypted Partition?

Jun 10, 2011

I had to reinstall Windows, which has obviously overwritten my lovely Ubuntu Natty

I would like restore grub2, however failling to do so

I'm running:

Code:
sudo mount /dev/sda1 /mnt/boot
sudo cryptsetup luksOpen /dev/sda5 crypt1
Enter LUKS passphrase:
key slot 0 unlocked.

[Code]....

View 6 Replies View Related

Fedora Security :: Iptables File Syntax?

Dec 19, 2009

Wondering if anyone knows what the range specification is meant to do for the colonHAIN at the top of the iptables file? e.g. what is the 1:76 range mean for :OUTPUT ACCEPT [1:76] ?

# Generated by iptables-save v1.4.1.1 on Sat Dec 19 12:28:00 2009
*filter
:INPUT ACCEPT [0:0]

[code]...

View 2 Replies View Related

General :: Send A File Using The Sftp Syntax

Mar 24, 2011

I understand how to get a file from an another computer using the sftp syntax

So i can get the file abc from comp2 to comp1

But how can I send a file cba from comp1 to comp2 using the sftp(I am still using comp1)

View 2 Replies View Related

General :: Sudoers File: Syntax Error?

Jul 11, 2010

Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.

Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?

View 5 Replies View Related

Ubuntu :: Grub2 - Re-install Vista On Original Partition ?

Mar 31, 2010

I have drive C/ with Vista, D with as of now, nothing and a third logical partition with Ubuntu on.

I want to do a clean install of Vista on top of my current system, just on C.

Will this re-install the Windows MBR and prevent Grub2 from booting? If so, how to I re-set grub2 as the MBR?

View 3 Replies View Related

Ubuntu :: Grub2 Not Detecting Windows Recovery Partition?

Jan 5, 2011

I have a dual boot setup with Windows 7 and Ubuntu. Lately Windows 7 has been causing me all kinds of grief and I decided that it would be better to just restore it back to factory settings. I have a Windows 7 recovery partition (hidden) that I can see from Ubuntu, however Grub2 does not detect it. It only has two identical Windows entries that take me into Windows (though in /boot/grub/grub.cfg they point to hd0,msdos1 and hd0,msdos2 respectively).

I have searched far and wide on the Internet on how to gain access to this recovery partition to no avail. I even found a link from Lenovo's website that details how to do this in the old version of Grub, though it doesn't work in Grub2.

Here are the most useful links that I have found thus far, both fall short unfortunately. [URL]

I have already backed up all my data, so I can nuke the whole disk if that's what it takes, but I don't actually have a Windows Recovery CD, only the hidden partition which I can't seem to boot into.

I also saw some posts where people were having trouble disabling the recovery partitions from appearing in the Grub menu, their answers often consisted of people telling them that it's not possible to disable the recovery partition from appearing without hiding the main Windows Install, oh the irony!

View 4 Replies View Related

Ubuntu :: Grub2 Loads The Recovery Partition Of Win7?

Mar 7, 2011

As a big supporter of Ubuntu, after installing Ubuntu 10.10 on my mums laptop i decided to also install it on my sisters Acer Aspire one netbook.

The specific netbook had pre-installed Win7 starter. Everything went really smooth with the installation with ubuntu 10.10, Grub menu was also loading pretty well but when i chose to load on windows it loads the recovery partition of the hard drive.

The issue is that the netbook, like most netbooks and laptops, has a hidden partition which is used to recover Windows on the system. My Grub2 loader added this partition as an option to load windows with result me not be able to boot on windows ...well i do can load but it loads the recovery of windows.

View 9 Replies View Related

Ubuntu Installation :: Can't Restore GRUB2; Can't Mount Partition?

Apr 29, 2011

I get the error - 'You must specify the filesystem type'.I used the syntax on the GRUB2 page:mount /dev/sdb3 /mnt but it returns the above error.Is there additional parameters to the code???

View 1 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 :: Configuration File For Vi Or Vim Editor For Syntax Highlighting?

Sep 10, 2010

On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.

Code:
[root@localhost ~]# cat ~/.vimrc
syntax on

[code]....

View 6 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

Software :: Install Grub2 In Partition Is Possible?

Nov 14, 2010

I tried to install grub2 in partition, not in MBR.I have installed grub4dos in MBR, and I prefer to install grub2 in sda6.sda6 is ext3 formated and has Debian squeeze installed on it.

View 1 Replies View Related

Ubuntu Installation :: 10.04 Live CD Will Not Letting To Choose Partition For GRUB2

May 3, 2010

drive is as follows:

NTFS Partition (Storage)
NTFS Partition (Win7)
Ubuntu

I am trying to put GRUB2 on the Ubuntu partition, but it will only let me pick the first two. If I pick the Ubuntu partition in the last dialog bix, it is listed as /dev/sda-1 I also have no idea why is says "-1", because the first two are fine at 1 and 2 respectively.

View 7 Replies View Related







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