Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

LILO errors

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
foexxchen
n00b
n00b
User avatar
Posts: 47
Joined: Mon Jun 30, 2003 3:55 pm

LILO errors

  • Quote

Post by foexxchen » Sun Nov 09, 2003 1:14 pm

Hi.
I'm trying to move my gentoo installation to a new harddisk.
The old layout is
hda1 winxp
hda2 extended partition
hda5 gentoo boot partition
hda6 swap
hda7 root partition

So I made the same layout on the new disk (theres now plenty of
unused space after hda7).
Afterwards I copied everthing from from the old to the new harddisk
removed the old harddisk, booted a linux rescue disk (both suse8 and knoppix 3.something), mounted both the root and the boot partition and ran
lilo -C /mnt/newhd/etc/lilo.conf
this gives me some error about the first boot stage (forgot the exact words) - btw I changed that lilo.conf relatively to /mnt/newhd.
So I tried chroot /mnt/newhd lilo
Now lilo cannot stat /dev/hda (well, obviously).

Any ideas what I can do to get lilo onto that new disk?

BTW. I tried to get the windows bootloader onto the new disk and that worked.... shame :)
Top
st589
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 20, 2003 8:12 pm

  • Quote

Post by st589 » Sun Nov 09, 2003 3:54 pm

Assuming lilo is configured correctly, the only thing I can think of right now is that you forgot to edit your /etc/fstab to reflect the changes.
Top
foexxchen
n00b
n00b
User avatar
Posts: 47
Joined: Mon Jun 30, 2003 3:55 pm

  • Quote

Post by foexxchen » Sun Nov 09, 2003 4:02 pm

Hmm. Since I created the same layout on the new disk as on the old one
fstab will still be correct. But AFAIK lilo doesn't use fstab (you specify device names in lilo.conf => no need for fstab?).
Top
st589
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 20, 2003 8:12 pm

  • Quote

Post by st589 » Sun Nov 09, 2003 4:32 pm

Oh I see. I thought you meant you put Gentoo on another disk and now had two.
Top
foexxchen
n00b
n00b
User avatar
Posts: 47
Joined: Mon Jun 30, 2003 3:55 pm

  • Quote

Post by foexxchen » Sun Nov 09, 2003 4:50 pm

Ahh, now it works.
The problem where the rescue cds. The lilo versions on them
didn't work with the files in my boot dir (why???).
I just downloaded the 1.4 livecd and the its lilo version worked
without any problems:

lilo -c /mnt/newhd/etc/lilo.conf -s /mnt/newhd/boot
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic