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


ADVERTISEMENT

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 :: 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 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

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 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 :: Find Inode Of A Particular File Using Its Number?

Nov 16, 2010

Can we find the inode of a particular file using its inode number?

The reason is i want to know how many blocks are occupied by specific file.

if we consider block size of 1K.
if the file size is of 100 bytes. In such a case, when the file is
stored on disk, the file will occupy 100 bytes or 1K (since we have
choosen block size to be 1K) ?

View 6 Replies View Related

General :: Find Number Of Files In A Directory?

Feb 22, 2010

i need to know how to find number of files in a directory? is there any system calls in fedora 12.And i need to know how to perform a operation if the that count increases by one?

View 14 Replies View Related

General :: Find A Ip Address Having Maximum Number Of Ram Available?

Jun 22, 2010

I have a file called abc.txt which has following contents.

10.180.8.231=31608
10.180.8.232=29011
10.180.8.233=31606

[code]....

View 3 Replies View Related

General :: Find The SVGA Version Number?

Mar 30, 2010

I can track that my CentOS 5 ships with SVGA driver through:

cat /var/log/Xorg.0.log | grep SVGA

But how can I find the SVGA Version number?

View 1 Replies View Related

General :: Determine Number Of Blocks For A Partition?

Jul 1, 2010

Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.

Why is block size divided by 1024?

I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.

My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.

View 1 Replies View Related

General :: Know Maximum Number Of Logical Partition?

Sep 11, 2009

I'd just like to know the max number of logical partitions an extended partition can hold. Is that number different for IDE and SCSI hard drives?

View 11 Replies View Related

General :: Find The Driver Module Name Using MAJOR NUMBER?

Aug 16, 2010

how to find the driver module name using MAJOR NUMBER. In general major number list is available in Documentation/devices.txt but if i want to find out the driver module name specific for a given MAJOR NUMBER, what can be done?

View 2 Replies View Related

General :: Find The Installation Number After Installing RHEL?

May 16, 2010

During the installation of RHEL it asks that you may enter the installation number to get packages , updates .....etc, now my server is up and running and i need to get the number that I added during installation

View 2 Replies View Related

General :: Count The Right VGA Parameter Number For Grub To Use Another Resolution?

Dec 13, 2010

I am using grub of version 2, and current resolution vga=795 (probably). X runs at 1680x1050. So what I would like to know is, how can I count the right VGA parameter number for grub, to use another resolution?

View 11 Replies View Related

General :: Increase Number Of Inodes Without Re-creating Partition?

Jul 14, 2011

How can the number of inodes be increased on an existing EXT3 or EXT4 partition without re-creating the partition?

View 3 Replies View Related

General :: Find The TCSH Shell And Gzip Version Number?

Apr 7, 2010

I need to find TCSH shell and gzip version number by running a acript on several boxes through ssh. How can i do that? I made a script for tcsh but it is not working by ssh , it only works on my box . I dont know from where to find the gzip version info.

View 5 Replies View Related

General :: Find Mapping Between Man Section Number And It's Description In Standalone Mashine?

Aug 14, 2010

where I can to find mapping between man section number and it's description in standalone mashine.In other words, where I can to find description of some man section when I have not connection to Internet? For example:

1 -> User commands
2, 3 -> Linux programmer's manual
and so on..

View 1 Replies View Related

General :: Offline Method Required To Find Out Number Of Days Since A Certain Date?

Dec 13, 2010

What offline method is there of finding out days since a certain date. Example: How would someone find the number of days from 1-Jan-2003 to 7-Dec-2010? Could someone write a script that takes in the 2 dates and output the number of days?

View 5 Replies View Related

General :: Adding A Kernel In GRUB For Kubuntu 9.10: Invalid Magic Number

Apr 19, 2010

I've compiled and added a kernel in Gentoo before. It doesn't seem to go quite as smoothly in Kubuntu 9.10 These are the steps I followed: I unpacked the kernel in /usr/src and ran make && make modules_install succesfully. Then I copied the kernel in arch/x86/boot/bzImage to /boot/bzImage-2.6.32 This entry is the one given by Kubuntu:

Code:

menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1

[code]....

I just read the script that update grub uses. Changed the name of the kernel from xyz to vmlinuz-2.6.32-generic and it worked.

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

General :: Find Out The Serial Number Of Hard Disk Through Command Line On OpenSuse 11.2 ?

Jul 12, 2010

I read this thread but

Code:
anisha@linux-uitj:~> su
Password:

[code]...

View 14 Replies View Related

General :: Grub Loader Can't Boot From Partition But Other Boots Can See Partition?

Feb 25, 2010

I having a problem getting my grub loader to see one of my hard drives. I added a drive, and my grub loader lost track of where everything was. I couldn't get my old linux (Red Hat 9) so I installed SuSe on my new hard drive. But I need my be able to boot from my old hard drive because it has apps that only run on the earlier version. From /proc/partitions the old hard drive is sdd

major minor #blocks name
8 0 976762584 sda
8 1 2104483 sda1
8 2 20972857 sda2

[code]....

View 27 Replies View Related

General :: Windows - Deleting Linux Partition And Grub Boot Loader Without Affecting The Windows Partition At All?

Aug 30, 2011

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.

View 2 Replies View Related

General :: Cant Find A Grub 2 Menu ?

Sep 3, 2010

I have installed ubuntu 9.10 after the windows xp os, and then my grub.cfg file only contained information about linux.. my windows os couldnot be booted..But thats fine because i now work only on linux, so I could normally boot into ubuntu..

But now i tried to install fedora 12 on that partition on which windows was installed, and i set the space of that partition as "free". And then something went wrong, and i could not install fedora.

Now wen i boot into the normal ubuntu linux from the local hard disk, this error appears on screen - "No bootable media present, enter bootable disk and press enter."

I can boot into the installed os by first booting from a live cd, and selecting the "boot from local disk" option. But i cannot boot without a live cd.

I also reinstalled grub-pc package, but no change.

View 9 Replies View Related

General :: Unable To Find Whole Partition

Apr 27, 2010

I had two OS win xp nd fedora10.i formated my xp nd was installing windows 7 in its place when i did the same my fedora got invisible i m unable to find whole partition where my fedora was installed. and i cant use fedora now.

View 5 Replies View Related

Ubuntu :: 11.04 Partition Number 83 Value Is Out Of Range?

Jun 29, 2011

my partition should be linux but I can't allocate it using * because the partition number (1-7): 83Value is out of range. I want to allocate everything to one big linux partition with just a small partition for windows for warranty purposes.I don't need all those other partitions which I got probably from trying out different Ubuntu versions.

steve :~$ sudo fdisk /dev/sda
[sudo] password for steve:
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

[code]....

View 9 Replies View Related

General :: Neither GRUB Nor LILO Can Find Stage 2?

Nov 17, 2010

This post has been updated with new information. First, here's fdisk -l:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[Code]....

View 8 Replies View Related







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