LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 04:28 AM   #1
Rodolfo Medina
Member
 
Registered: Nov 2004
Posts: 61

Rep: Reputation: 15
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.

7) # lilo -v -t

8) # lilo


Thanks to anybody who will provide help.
Rodolfo
 
Old 12-01-2004, 04:50 AM   #2
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
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
 
Old 12-02-2004, 05:13 AM   #3
Rodolfo Medina
Member
 
Registered: Nov 2004
Posts: 61

Original Poster
Rep: Reputation: 15
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.

Rodolfo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition resize or Reinstall ? LinxNew Mandriva 4 05-02-2005 03:38 AM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
how to reinstall windows on partition adhara Linux - General 1 06-26-2004 10:15 PM
creating a bootdisk due to windows reinstall mmboydell Linux - Newbie 3 03-30-2003 10:38 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration