Find the answer to your Linux question:
Page 4 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 31 to 40 of 47
Bootloader Configuration To set up genkernel to work with your bootloader, three or four changes should be applied to the bootloader's configuration file: Found these 1. Add root=/dev/ram0 and init=/linuxrc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Linux Engineer cheetahman's Avatar
    Join Date
    Dec 2004
    Location
    New York
    Posts
    1,130

    Bootloader Configuration

    To set up genkernel to work with your bootloader, three or four changes should be applied to the bootloader's configuration file:
    Found these

    1. Add root=/dev/ram0 and init=/linuxrc to the kernel parameters passed to the kernel image.

    2. Add real_root=/dev/hda7, for example, to the kernel parameters passed to the kernel image, if /dev/hda7 contains your root partition.

    3. If you are using bootsplash, add a suitable mode line such as vga=0x317 to the parameters passed to the kernel and also add splash=verbose or splash=silent depending on the verboseness you require from your bootloader.
    What is verboseness

    4. Add the initrd information as required by the bootloader. Consult the Bootloader Configuration Chapter of the Gentoo Handbook for details on how to make your bootloader initrd-aware.

    title=Gentoo Linux 2.6.12-r10
    root (hd0,0)
    kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
    initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r10

    So I need to add real_root=/dev/hda7 udev and what about ramdisk=8192

    genkernel users should know that their kernels use the same boot options as is used for the Installation CD. For instance, if you have SCSI devices, you should add doscsi as kernel option.
    \"TTFN Taa Taa For Now\" by Tigger in Winnie the Pooh
    http://www.distrowatch.com Linux Distros
    We Live in a Windows World but there is Linux to save the day

  2. #32
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    Quote Originally Posted by cheetahman
    title=Gentoo Linux 2.6.12-r10
    root (hd0,6)
    kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 ro init=/linuxrc ramdisk=8192 real_root=/dev/hda7 udev
    initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r10
    This should work. Yes, you need the real_root=... in there. Also, Suse's fstab doesn't matter, gentoo's does (/dev/hda7/etc/fstab).

  3. #33
    Linux Engineer cheetahman's Avatar
    Join Date
    Dec 2004
    Location
    New York
    Posts
    1,130
    Quote Originally Posted by psic
    This should work. Yes, you need the real_root=... in there. Also, Suse's fstab doesn't matter, gentoo's does (/dev/hda7/etc/fstab).
    How can I access the fstab in Gentoo if I can't boot into it
    \"TTFN Taa Taa For Now\" by Tigger in Winnie the Pooh
    http://www.distrowatch.com Linux Distros
    We Live in a Windows World but there is Linux to save the day

  4. $spacer_open
    $spacer_close
  5. #34
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Just boot up with your Gentoo livecd and chroot into your installation.
    Check the handbook for the necessary details on chrooting.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  6. #35
    Linux Engineer cheetahman's Avatar
    Join Date
    Dec 2004
    Location
    New York
    Posts
    1,130
    The kernel works now but I can't log into Gentoo it rejects my username and password.
    \"TTFN Taa Taa For Now\" by Tigger in Winnie the Pooh
    http://www.distrowatch.com Linux Distros
    We Live in a Windows World but there is Linux to save the day

  7. #36
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    log in as root
    enter password
    Code:
    useradd -G usb,wheel,video,audio -s /bin/bash username
    passwd username
    enter new password
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  8. #37
    Linux Engineer cheetahman's Avatar
    Join Date
    Dec 2004
    Location
    New York
    Posts
    1,130
    it won't log me in as root and won't accept my root password
    \"TTFN Taa Taa For Now\" by Tigger in Winnie the Pooh
    http://www.distrowatch.com Linux Distros
    We Live in a Windows World but there is Linux to save the day

  9. #38
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    you probably forgot to set one during your install. Go back through the process you used to chroot. Once in the chroot just enter

    passwd
    [enter new root passwd]

    then add new user if you haven't done so
    then reboot
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  10. #39
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    To chroot from the Gentoo livecd, just do
    Code:
    mount /dev/hda7 /mnt/gentoo
    chroot /mnt/gentoo /bin/bash
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  11. #40
    Linux Engineer cheetahman's Avatar
    Join Date
    Dec 2004
    Location
    New York
    Posts
    1,130
    Would I do this in the terminal
    \"TTFN Taa Taa For Now\" by Tigger in Winnie the Pooh
    http://www.distrowatch.com Linux Distros
    We Live in a Windows World but there is Linux to save the day

Page 4 of 5 FirstFirst 1 2 3 4 5 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •