LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-28-2005, 11:19 AM   #1
enryfox
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Rep: Reputation: 15
move and resize "/" partition - lilo ?


I have a dual boot windowsxp / mdk 2005Le and i need to move and resize the linux root partition. I think this can be done using Partition Magic under windows, but my doubts deal with lilo: lilo has a map with disk physical adresses of where lilo loader and kernels are. If i move the "/" physical address i think lilo will fail to load. Is there a smart way to fix this problem ?
Or do i have to go through Mdk install again using the update feature ?

thanks all
Enrico
 
Old 04-28-2005, 12:14 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
If I understand correctly what youre doing, just reinstalling the bootsector should cover the problem. So, after the process, type: lilo
to re-install the bootsector. If the dev paths have changed, remember to change those too to the lilo.conf.
 
Old 04-28-2005, 04:43 PM   #3
enryfox
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for your reply,

i'm only adjusting in size some of the partitions on the disk, i'm not adding or deleting any partition. But i've read somewhere that lilo stores in the MBR a direct link to the lilo loader; if this loader is moved, than lilo fails to start.
I have to resize the partition using windows, therefore if i'm not able to start linux i can't run lilo and fix it.
Has anyone ever done this before ?

thanks
Enrico
 
Old 04-28-2005, 04:56 PM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
a bootfloppy or livedistro will get you in so you can run lilo.
 
  


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
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
Can't resize ext3 partition (using "parted"). Help or advise another app, plz kornerr Linux - General 2 04-28-2005 10:01 AM
how can i replace "lilo" with "grub"....... b0nd Linux - Newbie 5 04-18-2005 04:52 AM
resize or move /boot partition breenbaron Linux - General 3 04-07-2004 11:13 AM
Move LILO off floppy onto "/boot" eddie2go Linux - Newbie 10 09-28-2003 07:53 AM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration