View previous topic :: View next topic |
Author |
Message |
Jordan Guest
|
Posted: Fri Jun 28, 2002 7:00 pm Post subject: help creating boot partition instead of boot CD |
|
|
I enjoy the Gentoo Linux setup on my Athlon machine, and want to install it on my laptop.
I don't have a bootable CD-ROM, so I untarred stage 1 from the iso image to a partition on my hard drive, and copied the files in isolinux into /boot.
I can boot to this partition, but it just drops
me to a shell and /lib/modules is missing.
I think I should be doing something with /boot/rescue.gz but I don't know what.
What else should I do to get this partition to boot the same way the CD boots?
Thanks,
Jordan |
|
Back to top |
|
|
Jordan Guest
|
Posted: Fri Jun 28, 2002 10:49 pm Post subject: using initrd rescue.gz getting ramdisk errors |
|
|
I am trying to boot stage1 from a hard disk partition instead of from the CDROM.
I'm getting:
Freeing initrd memory: 7316k freed
...
attempt to access beyond end of device
01:00: rw=0, want=16390, limit=8192
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode block - inode=7345, block=16389
...
Trying to move old root to /initrd ... failed
...
Trying to free ramdisk memory ... failed
...
init-2.05a# df
df: cannot read table of mounted filesystems: No such file or directory
My grub configuration looks like this:
root (hd0,4)
kernel /boot/kernel ro root=/dev/hda5
initrd /boot/rescue.gz
I also tried this:
kernel /boot/kernel devfs=nomount load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=18580 root=/dev/hda5
which eliminted some of the errors but still it failed
Trying to move old root to /initrd
and drops to shell
Thanks for any help,
Jordan |
|
Back to top |
|
|
Jordan Guest
|
Posted: Fri Jun 28, 2002 11:10 pm Post subject: ok, figured it out |
|
|
I needed to use the ramdisk as the root partion so it would boot like the CD.
Jordan |
|
Back to top |
|
|
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Sat Jun 29, 2002 2:53 am Post subject: |
|
|
Hi Jordan,
If I'm understanding you correctly, you're trying to put the contents of the ISO onto the hard drive and then boot from that? Unless you have a specific reason for doing it that way, I would just user your current linux distro to install Gentoo. https://forums.gentoo.org/viewtopic.php?t=5384 (sorry about the funny lookin' link. I'm still getting used to this BBCode thing )
HTH,
Jeremy |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|