Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can copy a Linux partition from one hdd to another or from one PC to another by various programs but its boot loader can only be transferred by the "dd" command.
Thank you very much and thank for DELL staff that made 80MB partition for system needs.
Yust boot from xp boot and with dr dos make bootable partition2 and now I have DATA.
Thank you.
hard way to simple solution!!!
I`ve got the same probleme, so can you tell me a little bit more detailed, what to do, cause I don`t know very much about computers...
Thank you very much!
Hi Everybody,
I have installed Ubuntu and windows 2003 server as well in my PC.
Accidently i formatted the drive where Ubuntu is installed.
During my next boot i noticed a error in the boot screen as "ERROR 22".
I could not able to log into the windows even.
pls do help me to overcome this.
Cheers,
Prasanna
hi skyeye,
i deleted my partition, from windows disk management utility. when i restarted my computer i noticed the error message "ERROR 22", when initializing GRUB.
Cheers
-Prasanna
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
So you deleted your Linux partitions(s) from Windows disk management utility which means now you don't have any Linux installations. If this is the case you'll be able to work just after a MBR re-creation.
See the previous postings too, to see how you could do this by using a DOS or Windows bootable disk (CD or Floppy). If you don't have any try using something like FreeDOS boot disk. Or if you have a Knoppix CD I guess you can do it by it too.
Originally posted by saikee Error 22 in Grub is "No such partition"
You can copy a Linux partition from one hdd to another or from one PC to another by various programs but its boot loader can only be transferred by the "dd" command.
how do u know that its for "No such partition" ????
just by experience or is there any manual availabel listing various errors related with "GRUB"
I got the same error, but in different situations with an installation of Debian AMD64 testing.
I have a PATA drive which is the first master and which enables the load of my Windows.
I have a SATA drive on the first master and it contains the Windows and hopefully someday my Linux. I have another SATA drive on the third master, it is a data drive.
When I install everything without checking, GRUB is installed and starts from the PATA drive, but it can't load, it can't find the partition where it is installed, on the first SATA drive, in the seventh partition - I have one parition for my first windows, a partition for the windows swap, a partition for Linux swap, a partition for my second windows, a partition for Linux, a partition for /home and a partition for the remaining, but the partition for Linux is strangely labeled 7th -.
When I look in the partition device of the Debian installer, the SATA drive that is the first master is labeled SCSI3 and the third SATA drive is labeled SCSI1 ! I tried with an KUBUNTU, the same results...
Perhaps GRUB sees the partition number differently than the installer, but then how make it work ? And why is the partition device mixing names ?
If somebody has the answer, I would be very grateful
Grub is known as Grand Unified Boot-loader and attempts to boot DOS, Windows, Linux, BSD..... As each system can call PATA and SATA different names Grub uses only a numbering system and obtains the references directly from the BIOS.
Grub always counts from 0 and so
(hd1,2) is the 3rd partition in the 2nd disk.
If you arrange PATA to boot first then it is (hd0) to Grub.
The same designation (hd0) will be used by Grub on your Sata if you tell the BIOS to put it at the front of the booting queue. So Grub is blind to the type of disk you have and doesn't care as it has no interest in it.
Linux calls a hard disk according to the location it is hooked to the M/B. hda, hdb, hdc and hdd are the 4 IDE permanently reserved channels. Recent M/B support 2 Sata and they are called sda and sdb (or hde and hdf) in Linux.
Therefore be aware that Linux and Grub use different notations for the same hard disk.
A SATA is serial ATA that requires a driver to work like a SCSI disk. To Linux Sata is part of the SCSI family. The installer may call a Sata as SCSI but Linux treat them as a device like /dev/sda for the whole drive and /dev/sda3 for the 3rd partition of that disk.
-----------------------------------
You have a lot of confusions. Sata do not have a master/slave designation. They only have channel no.
You are also not supposed to have Windows bootable from a logical partition which alway starts from the 5th partition, as the first 4 are reserved as primary partitions.
I suggest you to obtain a Linux Live CD, one that boots into a Linux system without being installed into a hard disk, and do a fdisk -l at the root terminal to see a complete run down of all your drives and the partitions already created. You need to know what you have got first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.