Ubuntu :: Grub Cannot Find Partition / Set It To Search?

Jun 27, 2011

I recently installed Ubuntu 11.04 on a clean hard drive. Everything went well and I ended up giving /home it's own partition. After a while I figured I would dual boot with windows 7 and my mbr got overwritten. Now after this happened I googles how to fix it and found the same answer almost everywhere. It had me go into terminal and run grub an find my partition and setup grub again. All of this was done off a livecd. The only problem was that my livecd didn't have the grub shell installed. Everytime I ran "sudo grub" it would say "sudo: grub: command not found" I tried to install it but it kept giving me errors and I only once actually got into grub, but it could not find my partition. Whenever I typed "find /boot/grub/stage1" it said directory does not exist. So I attempted to fix it my own way. I installed another version of ubuntu along Sid the first. This allowed me to triple boot between the two versions of ubuntu and windows 7. So I booted into my original ubuntu (11.04) and deleted the older version of ubuntu with gparted. I deleted the partition and restarted, but when I restarted I got an error saying that grub could not find the partition. I can boot into my original ubuntu through the ultimate boot cd but it is a round a bout way of doing it. Is there anyway I can set grub to search for ubuntu 11.04 on startup instead of the deleted version of ubuntu?

View 9 Replies


ADVERTISEMENT

General :: Find/search Root Partition ONLY?

Jun 11, 2010

Say I need to do: find / -name somefile.txt

And say root partition / is mounted on /dev/sda5; however, let's say I also have 250GB partitions (/dev/sda6, /dev/sda7) mounted in /media - AND another location that I cannot currently remember. Say, also, that I know the file I'm looking for is on /dev/sda5.

Obviously, the above command will also descend in /media and that other directory which represent the big partitions, wasting time in looking for the file in the wrong place.

Is there a way to instruct find (or other command) to search only / on /dev/sda5, and NOT to descend to directories if they are on different partitions ?

View 1 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

Ubuntu :: Grub Can't Find Partition At Boottime

Sep 14, 2010

I had my HD partitioned with Win7 and 2 versions of Xubuntu (32 and 64 bit). and Grub as multiboot loader. I removed the 32 bit version and assigned the free space to the 64 bit version using the Gparted bootCD, but now Grub can't find any partition anymore at boottime. All I get is this message and prompt when I try to boot my computer: error: no such partition grub rescue. My Linux partition is supposed to be sda6. When using the 'ls' command I get quite few entries, from which one is (hd0,6), which is sda6 I suppose.I can list the contents of directories on (hd0,6).I've tried instrucions from this page, but many commands don't work, like 'linux', 'initrd' and 'boot'.I really don't want to loose my current OS's. Is there a way to recover fom this so I get the Grub boot menu with my Win7 and Xubuntu entries again?

View 4 Replies View Related

Ubuntu :: GRUB Does Not Find WIndows 7 Partition?

Jan 7, 2011

I messed up my mbr by deleting my other drive which I guess had the MBR for both my OS (2 Windows 7's). So i installed Ubuntu in an attempt to fix it all hoping to get the GRUB. It then booted directly into Ubuntu.So I ran bootsect.exe tx the mbr and it said success.Still boots into Ubuntu directly without and grub.

I ran sudo update-grub
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
done

View 9 Replies View Related

Ubuntu Installation :: Find Out Which Partition Got GRUB?

Jul 4, 2011

i have 500 GB SATA drive with windows 7 and Ubuntu 11.04 500 GB drive divided in 3 partitions on one partition thers is windows 7 and on 2nd Ubuntu now i'm installing a software it's asking where you want to load your Grub and i don't know in which partition my GRUB is. my question is is there any way to find out which parition got my Ubuntu GRUB?

View 3 Replies View Related

Ubuntu Installation :: Grub Is Unable To Find Partition

Oct 4, 2010

I have a 9.10 ubuntu desktop on a tower (bought 2004) working fine, and wanted to add a 10.4 server on an additional partition. After install, I stated grub may be newly written, as the list of os was fine. After reboot I got "grub rescue>" I managed to get the system working again, and now I have a grub2 menu list stating correct entries. But when I select the server entry the boot fails telling "disk not found" (The UUID of the partition given is correct, and also shown when accessing the partition from the 9.10 desktop (this needs an additional authentification when mounting) grub shell command ls does not show the partition, all other tools (life-CD, working installation, gparted etc.) do show it normally, I cannot find any difference. The partition is on the beginning of the disk

View 3 Replies View Related

General :: GRUB: How Find Partition Number - Hd0,x ?

Aug 29, 2010

I am playing with grub and i change the root using:

How can i know what's x for /dev/sda7 ?

The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:

So what's x for /dev/sda7 ?

View 2 Replies View Related

Fedora :: Reinstalling Grub To Find Vista Partition?

Apr 14, 2011

I deleted the wrong line in grub.conf, and now cannot boot into my Windows Vista anymore. I really need to get it back right away, I am trying to do my taxes, and they are on there, and I can't get to them. I added this to grub.conf, but no luck.

Vista
root (hd0,0)
chainloader +1

View 2 Replies View Related

Ubuntu :: Desktop Search Dead \ Trying To Find A Good Desktop Search Tool?

Jun 16, 2011

I'm trying to find a good desktop search tool. Beagle is dead, Recoll and Strigi are KDE, and Tracker is not many features (can't even search Thunderbird 3). Do I miss something? Is desktop search on Linux dead? Should I use Google Desktop Search instead

View 2 Replies View Related

Slackware :: Warning With Search By Find?

Jul 16, 2011

I mount two ntfs partitions under my Slackware/win/C/win/Dwhen i process a search via "find" it give me the following when reach /win directoryfind: warning: not following the symbolic link '/win/C/Document and settings'i wantto know what is going on and the solution

View 2 Replies View Related

General :: Ubuntu 10.04 - Search A Ntfs Partition For Files?

Aug 24, 2010

My Linux system has an NTFS disk attached to it. How can I search for all *.txt files on the NTFS partition using Linux?

View 2 Replies View Related

Software :: Using Find To Only Search Specific Directories?

Jan 9, 2010

how the "-prune" option works. I've searched quite a bit on line, and as far as I can tell, "-prune" works exactly the opposite as it says.

I'm using Apt-proxy, and I want to scan through the folders, and find files that end with "*.bz2" The problem is that the search takes a while because of all the "*.deb" files. Fortunately, they're stored in their own folder:

/var/cache/apt-proxy/ubuntu
/var/cache/apt-proxy/ubuntu-security
/var/cache/apt-proxy/partner
each have two folders:

[Code]....

View 5 Replies View Related

Ubuntu Security :: IPBlock: Exhausted Search To Find Download File?

Dec 31, 2010

I have totally exhausted my search to find IPBlock. I use it on my other Ubuntu machines but for some strange reason I cannot find it anywhere for my Ubuntu 10.10 Maverick. I know where the iplist is but not the actual file IPBlock download

View 2 Replies View Related

Debian :: Gnome 3 Search Doesn't Find DropBox

Mar 6, 2016

The searchfunction in Gnome 3 does not find the files in my DropBox. When searching it does find the DropBox folder, but not the files contained in them.

Dropbox folder is placed in /home/myusr/

All other subcontent folders in the home directory does show up in gnome search,

Went through Google and DuckDuckGo but was unble to find out how to manually change the places that the searchfunction indexes.

View 0 Replies View Related

Debian :: Use The Find Command To Search For Devices Files?

Mar 23, 2010

I've got 2 problems:1. How can I use the find command to search for devices files?2. I need to find all files thaare 6 months (or more) old and that have a size of 2 Mo or more. What would the code look like?Oh and also, how can I use the cat command to insert text in a file?

View 2 Replies View Related

General :: Case Insensitive Search From Find Command?

Apr 29, 2011

I am not able to figure out how can I do case-insensitive search using the find command.

I tried

find . -name -i pattern

And it does not work.

View 2 Replies View Related

General :: Find Command \ Search File Excluding The NFS?

Jan 20, 2010

I want to search file excluding the NFS ...find / -mount -name 'filename' restricts the search only in the root disc partition,but the file can be in other partitions alsoIs there any way to exclude the NFS only.

View 2 Replies View Related

Debian :: Why Apt-file Search Wx-config Not Find - Lenny

Dec 31, 2008

How apt-file works.

Background: I (like somebody else) needed to figure out which package wx-config is in.

Code:

Question: Which package makes a link?

Also why wx-common NOT depends on libwxgtk2.6-dev.

View 4 Replies View Related

General :: Find Command To Search Wildcard In Path?

Dec 8, 2009

I need a command to search for any file in a directory like so:

/home/*/upload/* and then change permissions any file in that directory.

Find doesn't seem to match what I need.

View 12 Replies View Related

General :: Find Text After String Search In File

Aug 2, 2011

I have a file called Regions.ini that looks like this:

Code:
[Granite]
RegionUUID = 54ab7cd2-0e70-49b7-8020-8dbeb84c08d0
Location = 9991,10007
InternalAddress = 0.0.0.0
InternalPort = 9001
AllowAlternatePorts = False
ExternalHostName = 71.171.21.9

[Syenite]
RegionUUID = 8fc56fdd-0afd-4074-9432-0ae8f42b799f
Location = 9992,10007
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = 71.171.21.9
What I need to do is find out what the IP address is after "ExternalHostName ="

After that I will need to compare that IP to whatismyip and if it's different then replace it but that is easy to do with sed. I just can't figure this simple hurdle out.

View 12 Replies View Related

General :: Using Find Command To Search For All Pictures, Or All Music?

May 17, 2010

Trying to find a way to have the find command perform a search using multiple file extensions such as "find all pics" i.e. .jpg, .png, .gif, .raw etc. I would have thought something like the following would have worked, but apparently I'm doing something wrong:

sudo find / -type f -iname "*.jpg" "*.png" "*.gif" -printf

I'm guessing find simply doesn't support more than one "-name/-iname" at a time? Or perhaps I'm going about this the wrong way? I realize most times there's several different ways to skin a cat when a task is requested in linux/unix.

View 5 Replies View Related

Programming :: Find Command To Search For All The File In The Particular Folder?

Aug 2, 2011

how to use find command to search for all the file in the particular folder?my script as below

find . -name "*" > $BASE/file
if [ `more file | wc -l` -gt 0 ]; then
echo "dp"
fi

output of my results will always include a . (dot)which I dunwan it include the dot.

View 11 Replies View Related

Ubuntu :: Grub Messed Up - Error: Can't Find GRUB Drive For /sdd1

Jan 31, 2010

I've trawled the internet but can't seem to find the exact same issue, so I've made a new thread. So, I installed Ubuntu onto a 160gb drive. I have other drives in the system, but I disconnected them so that the system drive would be sda. Ubuntu installed perfectly with no issues whatsoever. I connected the other drives in the system, and again it booted up perfectly (although I can't remember whether the 160gb drive remained as sda or became sdd). Then I attached some extra drives temporarily to do some data shuffling.

This moved my system drive to become sdf. My computer booted fine multiple times like this, but when I was finished with the drives I rebooted and suddenly everything broke. For some reason my ubuntu installation showed up in the GRUB twice, and neither of them booted. So, I popped in the Live CD (which I'm using to type this post), and decided to update the grub. I chrooted into my system drive and ran update-grub, but it simply returned something like this:

[Code]....

View 7 Replies View Related

Debian :: Apt-cache Search Won't Find Any Match - Install G77 In Squeeze / Sid?

Apr 1, 2011

I need to install g77 in this distribution, but an apt-cache search won't find any match.

View 1 Replies View Related

General :: Search A File To Find If Variable Belongs To A Field?

May 18, 2011

I have a file that contains 5 fields and anothen one with two I want to take the value from user and search file1 and if the value exists then write in file2 to the $2 to the line that $1=value

file 1
1:fsdfsd:g:33:fsdf
2:yytgdcf:a:3:sgd
3:tttt:g:67:yujhggfg

[code].....

View 2 Replies View Related

CentOS 5 :: Find Search Initiated At Boot That Takes Several Hours

Dec 18, 2009

I noticed that every, say, 5 times I boot CentOS 5.4, a find search is initiated that takes several hours.
For example:
find . -name rd=rmdir -print
I'm not sure if it's related, but, I do have a "alias rd=rmdir" in my .aliases. Would changing it to "alias rd=/bin/rmdir" avoid this problem? I'm using zsh. Is this search necessary?

View 14 Replies View Related

General :: Search Partition For Specific Sequence Of Bytes

Aug 17, 2010

I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?

View 4 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Ubuntu Installation :: Cp: Cannot Stat '/boot/grub/search.mod': Input/output Error?

Jan 30, 2010

This is what I get when following the instructions to fix grub. I type in "grub-install /dev/sda" and that's the error I get.I'm trying to put Ubuntu or Mint on a Dell Mini 9 with 16gb ssd, but no matter what I do I cannot achieve this goal

View 4 Replies View Related







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