After creating a new partition, I have to reinstall modem in the old one
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
After creating a new partition, I have to reinstall modem in the old one
Hi.
On my 40 Gigabyte hard disk I used to have two partitions,
one (30 GB) with Windows 98 and the other (10 GB) with Mandrake Linux 9.1.
Now I created a third partition, in which I installed Mdk 10.1 Community.
Everything seems to have gone well,
when booting I can choose if going into 10.1 or 9.1,
and the new partition has not modified the old one,
except for one thing:
in the old partition I have to reinstall the modem,
i.e. rerun the modem driver.
Why? Does anybody know?
Maybe a bug in Mdk 10.1 Community (the new partition OS)?
I'm reporting the procedure I followed to mount the partitions.
1) # mkdir /mnt/linux2
2) # mount /dev/hdax /mnt/linux2
3) In the file /mnt/linux2/etc/lilo.conf I changed the line
boot=/dev/hda
into
boot=/dev/hdax
4) I got into linux2 root:
# chroot /mnt/linux2 /bin/bash
5) , and there
# lilo -v
6) I got back to the new partition root, and at the end of the file
/etc/fstab I added the line
/dev/hdax /mnt/linux2 ext3 defaults 1 2
; then at the end of the file /etc/lilo.conf I added the following:
image=/mnt/linux2/boot/vmlinuz
label="linux2"
root=/dev/hdax
initrd=/mnt/linux2/boot/initrd.img
append="acpi=ht resume=/dev/hday splash=no"
vga=788
read-only
, where 'y' in hday should be the swap partition device number.
ummm this looks really weird ...
where did u find this from?
did you follow some guide online?
Are you mounting one within the other for the purpose of booting?!
It seems like you should be just changing lilo (in mdk 9) to have another option specifying your boot image, root directory and label
Might want to get a second or third opinion as i've never tried booting two separate distros
I've worked out the problem (or at least I've managed to avoid it)
by using a more simple procedure,
in which the new partition is 'son' and the old one is 'parent',
whereas before it was the contrary.
0) Before 10.1 installation, I had:
/dev/hda1 -> Windows 98
/dev/hda5 -> Mdk 9.1 root
/dev/hda8 -> Mdk 9.1 home
/dev/hda6 -> linux swap
(/dev/hda7 -> Mdk 9.1 very old one, not involved in this game)
1) I created two new partitions, in which I installed Mdk 10.1:
/dev/hda9 -> Mdk 10.1 root
/dev/hda10 -> Mdk 10.1 home
. Now, when I installed Mdk 10.1 I didn't choose MBR as boot point;
I chose the second possibility (root, if I remember well).
Then, when I booted the system, I found myself in 9.1 (/dev/hda5).
Then, from there I did:
2) # mkdir /mnt/mdk10.1
3) # mount /dev/hda9 /mnt/mdk10.1
4) # emacs /etc/fstab
, and added the following line:
/dev/hda9 /mnt/mdk10.1 ext3 defaults 1 2
5) I edited the file /etc/lilo.conf: I added the following:
other=/dev/hda9
label="mdk10.1"
6) # lilo
This way, the modem problem did not arise any more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.