Ubuntu :: Renaming Partitions In Grub2

Oct 18, 2010

I'm trying to change the name of a partition that grub mislabels. I've tried editing /etc/grub.d/30_os-prober, but I keep getting syntax errors.

The lines I changed are:

Code:
case ${LONGNAME} in
Windows Vista*|Windows 7*)
;;
replacing them with:

[Code]....

where line 163 is the one marked above in red.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Hide Partitions In GRUB2?

Aug 30, 2010

I would like to hide two entries in my GRUB2...(to clean up a BURG theme)

Dell Utility Partition -on- /dev/sda1

Microsoft XP Embedded (Which I believe is Dell Media Direct) -on- /dev/sda5

I understand that you must edit it in either 'menu.lst' or '30-os-prober' files.

The entry is a little like this... (?)

Code:
if [ -z "${LONGNAME}" ] ; then
LONGNAME="${LABEL}"
fi
if [ "${DEVICE}" = "/dev/sdXY" ]; then

[Code]....

View 5 Replies View Related

Ubuntu :: Restore Partitions, Swap And Grub2?

Oct 27, 2010

Unitl yesterday I have a pc with ubuntu server and desktop. Server I installed first. Desktop later. But I want to remove that server and use the space for other stuff..I mess with Disk Utilities and gParted and remove the ubuntu server partition. But now my grub2 stops working. How can I restore grub2 on the desktop partition and use the unallocated space for desktop without loosing any of my stuff? I have a scanner, webserver running, samba and other apps up and running on desktop.I can boot via live cd, and I get this on sudo fdisk -l:sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 8 Replies View Related

Ubuntu Installation :: 10.04 Upgrade - Grub2 And Windows Partitions

May 7, 2010

I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:

Harddisk 1
1. Windows XP
2. Windows 2000

Harddisk 2
3. Ubuntu 10.04

After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?

View 2 Replies View Related

Ubuntu :: Updated Grub2 Cannot Boot Windows Partitions?

Jul 12, 2010

I updated Grub2 and now I cannot boot my Vista or Windows 7. I am running Ubuntu 10.04. I updated because Grub2 was not updating to the newer kernels that were being installed. Now the new kernel is showing in the boot menu, boots fine into Ubuntu, but my Windows installs won't boot. Current installed version is grub-install (GNU GRUB 1.98-1ubuntu6).

View 4 Replies View Related

Ubuntu Installation :: Reinstalling Grub2 - Wipe Out Partitions

Sep 29, 2010

I am having trouble reinstalling grub so That I can see both my linux and windows partitions in the cain loader. Originally I had ubuntu, then I installed window, this wiped out grub so I had to reinstate it, and that went ok. Then I tried to get fancy and install another Linux on my machine. It did not wipe out my partitions but is defunct I have been following these instructions, [URL]


To no success. Grub2 installs fine, sudo grub-install --root-directory=/media/(my part ion) /dev/sda2 and I install it to sda2, but the" Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda"

View 3 Replies View Related

Ubuntu Installation :: Windows Boot Loader And GRUB2 On Partitions

Aug 20, 2010

[URL](where loading into Windows corrupts the MBR). None of the solutions in the bug thread work for me, however--I'm on a Dell system (so it's not HP tools) and I'm not running PC Angel or any similar service (I checked). I assume it is related to the Dell recovery partition, though my old laptop from Dell didn't have this problem even though it also had a recovery partition.

However, before I had partitioned and set up Ubuntu on my new laptop, I installed Wubi (for transferring over the files from my old laptop because I didn't have time to do a full install and deal with problems like this one). Wubi worked fine using the Windows Boot Loader. I understand that WBL isn't capable of loading Linux on its own, which is why I was wondering if it was possible to have GRUB installed on a separate boot partition (not the MBR) and loaded from Windows Boot Loader. All of the information I could find on it didn't work with Windows 7--but again, I know Wubi was capable of doing it. how to set this configuration up?

View 2 Replies View Related

Fedora :: Grub2 Support Booting Off Of Encrypted Partitions?

Oct 12, 2009

Does grub2 support booting off of encrypted partitions? I'd like to have an encrypted linux system, but only have space for one partition or logical group in my mbr. Or can I include that one /boot partition in the lvm group.

View 8 Replies View Related

Ubuntu :: Stop Update-grub2 Automatically Adding Entries For Specific Partitions?

Aug 20, 2010

I like to load other distro's via their own grub.

So at the min I add an entry to code...

however when update-grub2 is run it also adds its own entries (for arch linux).

Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?

View 3 Replies View Related

Ubuntu :: User And New Installation - Delete Partitions - Rebuild The Grub2 Config File

Aug 5, 2010

i just installed ubuntu yesterday (dual boot) and ive finally decided i wanted to wipe windows xp off my hard drive first of all i know how to delete partitions and such but then i went to g parted and saw all this crazy info (screenshot posted) im really confused and down wanna end up ruining my installation.

But what i want to do is remove my xp installation merge the empty partition with my linux partition and then rebuild the grub2 config file.

View 9 Replies View Related

Ubuntu :: Boot From A Grub2 Prompt When There Are Separate /boot And / Partitions?

Mar 6, 2011

I was yesterday evening experimenting inserting a script into /boot/grub/grub.cfg. Well I broke grub.cfg and had to try to boot from a grub2 prompt.I have separate /boot and / partitions on /dev/sda1 and /dev/sda2 respectively.Working out the correct syntax for the boot to work was a little complicated, so I thought it would be useful to post the correct procedure here, in case anyone else has the same set up that I do (separate /boot and / partitions)At the grub prompt code:

grub> set prefix=(hd0,1)/grub
grub> insmod linux
grub> set root=(hd0,2)

[code].....

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

Ubuntu Installation :: Installer Won't Recognize Partitions - Error Message Saying Partitions Over Sized

Mar 22, 2011

I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),

[Code]....

View 9 Replies View Related

Ubuntu Installation :: CD Doesn't Detect Partitions But No Apparent Overlapping Partitions?

Mar 3, 2010

Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run

Code:

sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print

and have received the following output:

Code:

ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes

[code]....

View 3 Replies View Related

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

OpenSUSE Install :: Access Partitions From Vista - Can't Open Ext3 Partitions

Jan 9, 2010

I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.

View 3 Replies View Related

Hardware :: Change Primary Partitions To Logical Partitions AND Migrate Their Data?

Mar 28, 2010

I've installed Arch Linux onto my Western Digital SATA drive.I love it, best ever, however, I need the fglrx proprietry driver for better 3-d performace, and decided to create a new partition. I decided to install Linux Mint.Sadly, in all my noobishness, I forgot about the 4 primary partition limit (oops!) and as I have /, /home, swap, and /boot partitions (all primary) already installed, I have run into a bit of a problem.I resized my /home partition (almost 500GB) to about 225, and was then told I have over 200GB unusable space. Is it possible for me to change at least 1 of my primary partitions to logical partitions AND keep all the data intact (AND edit the arch configuration so that it'll still work) so I can install a second linux? I sincerely doubt it

View 10 Replies View Related

Ubuntu :: Renaming Photos In KDE4?

Sep 14, 2010

I'm trying to batch rename 3,300 photos, and can't figure it out.

I've tried digiKam and KRename, however I can't figure out how to simply rename the files as such:

~/Pictures/[year]/[month]/[datetime].JPG

where the year, month, and datetime are when the picture was taken, via EXIF data. In digiKam, I can't figure out how to rename the files to move to a different dirrectory than their current one, and with KRename, I can't figure out how to only use the year for the directory instead of the entire datetime.

View 2 Replies View Related

Ubuntu :: Renaming Files Through Bash

Feb 10, 2011

I'm trying to rename ~11000 files. What has happened is I have files in the following format:

string1_100_string2_200_string3_300.log

now the numbers 200 and 300 are sometimes below 100 and the file looks like this:

string1_100_string2_99_string3_99.log

and I want to rename such files to be like this:

string1_100_string2_099_string3_099.log

I wrote a small matlab script but it seems to take forever so thought I'd try and do it bash and have got near to nowhere....

View 3 Replies View Related

Ubuntu :: Renaming The Smb.conf File?

Apr 5, 2011

I am trying to follow the instructions in the smb.conf file which says, "name original file smb.conf.master and create the "real" config file with test parm -s smb.conf.master >smb.conf".

First I made myself the owner of the smb.conf file. Then I tried to rename the smb.conf file to smb.conf.master. When I try to do this with: rename smb.conf smb.conf.master the result is: Bareword "smb" not allowed while "strict subs" in use at (eval 1) line 1.Bareword "conf" not allowed while "strict subs" in use at (eval 1) line 1.

Can someone tell me what this means, (why it is happening) and what do I need to do in order to rename the smb.conf file to smb.conf.master.

View 6 Replies View Related

Ubuntu :: Renaming VirtualBox Folder?

May 20, 2011

All I want to do is rename the folder containing my VMs but when I do that it breaks the VMs. In the settings of the individual VMs under Storage, there is a location for the .vdi file which I think may be the culprit but I see no way to change it. So is there a way to easily just rename the folder without importing/exporting the entire VM?

View 5 Replies View Related

Ubuntu :: Renaming Multipal Folders?

Jun 7, 2011

I have around 150+ folders in one directory. All contains some pdf files. Now i want to give some prefix no. to folder only not the files inside. How can i give the prefix to all my folders?

Eg : OLD FOLDER NEW FOLDER
ABC/ 8562-ABC/
AABC/ 8562-AABC/

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

Hardware :: XEN Citrix And Partitions - What Is Sda2 And Sda3 Partitions?

Apr 11, 2011

I have problem with XEN Citrix server I can not understand ; what is sda2 and sda3 partitions ?

Code:
root@cl-500 ~]# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000407625728 bytes
64 heads, 32 sectors/track, 1907737 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

[Code]...

View 4 Replies View Related

Ubuntu :: Renaming Wine Menu Items ?

Mar 18, 2010

Alright, after trying to organize shortcuts in Wine's menu (which did not work), I ended up hitting the 'Revert' button, which changed the names of most of the folders:

Screenshot

As you've probably guessed, I want to remove "wine-Programs-" from the beginning of the folder names. I've tried using the menu editor to do this, but the 'Properties' button does not seem to work on anything I did not create myself. How do I go about editing the names?

I would also like to know how to move the MS Office shortcuts into a custom folder/menu. They refuse to drag into any folder I make.

View 2 Replies View Related

Ubuntu :: Renaming Places In Nautilus Sidepane

Jun 18, 2010

A potentially very dumb question but still ... I want to create a place that I can choose in the panel at the top left. So I
- go to Nautilus (tree view in sidepane) down in the folders until I see my destination on the left;
- switch to places in the sidepane and drag and drop the folder onto the places thing.

Then, the folder shows up with the name there, which is something like "Web_ABC". So I want to change it to "Web" only. On my 64bit machine, this works, on my 32bit machine, it doesn't. Whenever I change the name and press ENTER, it goes back to the old name. On the 64bit system, it only worked when I went to some other place once, and then fine, but on the 32bit one, no chance.

View 4 Replies View Related

Ubuntu :: Moving And Renaming Multiple Pictures

Jul 2, 2010

I have a large collection of pictures, that are arranged in lots of directories such as pictures/june/001.jpg, pictures/july/005.jpg.I was wondering if it would be possible to move these pictures around so that they are also renamed to their parent folders name, such as moving picture/june/001.jpg to picture/june_001.jpg
Is there an easy way to do this or will i just have to write a shell script?

View 1 Replies View Related

Ubuntu :: Renaming Downloaded Files - Adding '

Jan 11, 2011

Whenever I download a file using Firefox or Google Chrome and it has a ' character on it's filename, the file is renamed and a is added before the '. It's really annoying and I'd like to know how can I solve this issue.

View 9 Replies View Related







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