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.
Some months ago I took off another 10 GB from my MS Windows partition
and created a second linux partition besides the one I already had
on my PC, and installed Mandrakelinux 10.1 there (the old one
was 9.1). But I didn't know all the things one has to be careful to
when installing a second linux operating system, (things I learned
later), so I did mistakes. Probably I installed the second linux partition
in the master boot record instead of the first sector of the root partition,
and also other mistakes. Anyway, after installing the second linux partition,
the old one wouldn't start any more, although I can access all its filesystem
from the new one.
Now I wonder if there is some rescue way to resuscitate the old partition
and make it start again.
Maybe in properly editing /etc/fstab and /etc/lilo.conf the possible solution?
Any suggestion highly appreciated, I can provide further details when asked to.
Thanks,
Rodolfo
I have one MS Windows partition and six Linux now:
/dev/hd1 is the 20 GB Windows partition;
/dev/hda5 is the `master' linux partition (the one mounted in master boot record),
with 2.5 GB, Mandrake 9.1;
/dev/hda6 is the the swap linux partition;
/dev/hda7 is the old linux partition, the sick one, with 10 GB. It used to be Mandrake 9.1,
but now it's `mixed' 9.1 and 10.1;
/dev/hda8 is another linux partition, 2.5 GB, Mandrake 10.1;
/dev/hda9 is another linux partition, 2.5 GB, Mandrake 10.1;
/dev/hda10 is another linux partition, 2.5 GB, Mandrake 10.1.
It's 40 GB altogether. This is the output of `# fdisk -l' from the master partition:
Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 2167 17406396 b Win95 FAT32
/dev/ide/host0/bus0/target0/lun0/part2 2168 4866 21679717+ f Win95 Ext'd (LBA)
/dev/ide/host0/bus0/target0/lun0/part5 * 2168 2487 2570368+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part6 3464 3591 1028128+ 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part7 3592 4866 10241406 83 Linux
/dev/ide/host0/bus0/target0/lun0/part8 2807 3125 2562336 83 Linux
/dev/ide/host0/bus0/target0/lun0/part9 2488 2806 2562336 83 Linux
/dev/ide/host0/bus0/target0/lun0/part10 3126 3463 2714953+ 83 Linux
Partition table entries are not in disk order
------------------------------------------------------------------------------------------------
Do you want the lilo.conf of the master partition or the one of the sick partition?
The sick one:
--------------------------------------------------------------------------------------
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
The first one I sent is the /mnt/linux2/etc/lilo.conf, the one from the `sick' partition,
and the second is the /etc/lilo.conf, the one in the master partition, which is `sane'.
your problem is that you don't have a section for the linux on /dev/hda7 in the lilo.conf of your master boot record. understand what i mean? the lilo.conf on the 'sick' partion is not being accessed. but you can copy something from there to boot it. seems like you have a several kernel versions on there........
It seems to me that a section for the linux on /dev/hda7 in the lilo.conf
of my master boot record is present: it's the two lines:
other=/dev/hda7
label="linux2"
that you can see above.
But now, after `cleaning up' a little the lilo.conf of the sick partition,
I manage to start it and to log into it. But something is still wrong with it.
In fact every operation, also the log in, is very slow,
and even the mouse is trembling and moving slowly.
Maybe the problem is kernel related. In fact, when I log in,
the system comes up as Mandrake 10.1 Community, but with the old 2.4.x kernel
(the one included in Mandrake 9.1). It's a sort of a monstruos (10.1)-(9.1) mixture.
Maybe the partition could be healed if I installed the new 2.6.x kernel?
I did: `# urpmi kernel-source-2.6', and the installation was performed:
a new directory /usr/src/linux-2.6.8.1-10mdk was created,
but now I don't know how to go on.
Here's my new lilo.conf of the sick partition: this way the partition
start and it's possible to log into it, but everything is very slow:
--------------------------------------------------------------
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
. The lilo.conf of the master partition is still the one reported above.
Instead, adding to it the lines you suggest, the sick partition can't even start.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.