You are not logged in.
Me neither, but if you're going to change your hardware... Still, I suppose making an initrd isn't as annoying as, say, recompiling your kernel.
(Still, why would you want to use the initrd to load hardware that you could load the modules for in rc.conf? It wouldn't provide any advantage in most cases.)
Offline
i updated my kernel yesterday and i added the initrd file to grubs config file but when i reboot my computer i come in to a shell cold busybox what is that?? what did i do wrong
Offline
It seems to me that when trying out a new kernel you should always have old one as backup ...
Either rename old or new kernel edit grub/lilo & then if something is wrong you can just boot back into old kernel to figure it out ..
my 2c
(Must get round to loading 2.6.14)
Mr Green
Offline
It seems to me that when trying out a new kernel you should always have old one as backup ...
Either rename old or new kernel edit grub/lilo & then if something is wrong you can just boot back into old kernel to figure it out ..
my 2c
(Must get round to loading 2.6.14)
i did but i cant figure out the problem with initrd and kernel 2.6.14
Offline
Latest edit info in wiki for lilo:
===========================================================
If you use Lilo add this to /etc/lilo.conf
image=/boot/vmlinuz26
label=Arch
vga=791
root=/dev/hda1
initrd=/boot/initrd26.img
read-only
==============================================================
I surnise this assumes your root is /dev/hda1 but may be otherwise.
Note that the wiki includes troubleshooting info that may help solve the problems reported in this forum.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
ok I have added <point to your root partition> the important line is the initrd
Mr Green
Offline
Emmm busybox thats nice :?
Renamed vmlinuz26 to vmlinuz26-init in PKGBUILD but pacman wiped over vmlinuz26 :?
Anyway I must have done something wrong so I'm back to good old 2.6.13[/code]
Mr Green
Offline
this is pretty cool
got a question before trying this
if i load appropriate mod for usb ie:
REMOVE_IDE=
REMOVE_SCSI=
REMOVE_SATA=
REMOVE_CDROM=
REMOVE_USB=
REMOVE_FW=
REMOVE_RAID=
REMOVE_CRYPT=
ADD_MODULE= "uhci_hcd ohci_hcd ehci_hcd usbcore"
REMOVE_MODULE=
HOSTCONTROLLER_IDE=
HOSTCONTROLLER_SCSI=
HOSTCONTROLLER_SATA=
HOSTCONTROLLER_USB= "/dev/sda1"
CRYPT_DEVICE=
then make appropriate changes to lilo & fstab via chroot
then put this hard drive in an external case plug it into usb
boot off usb would i then have my very own ARCH to take with me everywhere?
as opposed to using some live distro using a nesting technique
any thoughts
Offline
The way I understand it, the top section with the REMOVE_* specifies which subsystem to remove from the kernel and still be able to mount the root filesystem. So if you wanted to boot from IDE and USB you could probably set the rest to 1 to remove them. The bottom section is where you can further define the controller to the top section -otherwise leaving it blank add all possible modules. The add modules is for everything in between.
check the wiki for more info.
Offline
NOTE: After editing mkinitrd.conf, run mkinitrd auto as root to rebuild your Initrd
Try again ... mine I got busybox first time I tried it
Mr Green
Offline
Hi
ok next kernel release, that calls a legacy option.
- modularized the filesystems (ext2 needs to be in kernel!)
updated mkinitrd:
ok improvements with this release:
- now it's possible to use the 0.7 rescue CD + chroot to regenerate initrd
- added legacy option that builds a initrd26-legacy.img that includes all
possible modules. (will be additionally called on kernel install)
- Modularized the filesystem modules, ext2 is needed in kernel the rest can be loaded by initrd. (added this in kernel 2.6.14-2)
- added more comments to mkinitrd.conf.
- added more verboose grub setup after mkinitrd was run.
a grub autmatic update script is in the tests atm. Stay tuned for more.
Me will not do much work now on
it, i have a test next week at uni that needs to be done.
greetings tpowa
Offline
woot my reiserfs warning is gone, it's replacced by this one: EXT2-FS: blah fill blah : mounting EXT3 filesystem as EXT2
Offline
Worked well with scsi and sata and jfs driven discs. Congratulations.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
rayjgu3;
Don't forget the i686 needs for arch or the internet connection required.
Not "anywhere", but some of the USB interfaces may be useful on some computers.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Okay... my turn.
I followed the Wiki, regarding the setup of initrd and I still get shunted to the BusyBox prompt. The message I get, just before the # prompt is
/bin/sh: can't access tty; job control turned off
Now, I'm willing to call it 1for initrd, 0 for me and go back to the old kernel, but I'm not getting the results that the Wiki is telling me.
When i try to do pacman -S current/kernel26, I can't seem to get a connection to any of the mirrors to download the old kernel. Do I have to manually set up some network configuration or something that the Wiki isn't telling me?
Offline
Oh, and I don't know if this means anything, but just before the BusyBox message appears, I see what appears to be an error code stating:
SGI XFS with ACLs, security atributes, large block numbers, no debug enabled
Offline
Okay... my turn.
I followed the Wiki, regarding the setup of initrd and I still get shunted to the BusyBox prompt. The message I get, just before the # prompt is
/bin/sh: can't access tty; job control turned off
Now, I'm willing to call it 1for initrd, 0 for me and go back to the old kernel, but I'm not getting the results that the Wiki is telling me.
When i try to do pacman -S current/kernel26, I can't seem to get a connection to any of the mirrors to download the old kernel. Do I have to manually set up some network configuration or something that the Wiki isn't telling me?
I have the same problem here... I think it has to do with the new mkinitrd pkg. The last one worked fine.
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
I have the same problem here... I think it has to do with the new mkinitrd pkg. The last one worked fine.
Hmmm... well, misery loves company, hey?
Was able to get the old kernel back with the help of my Kanotix Live CD at least. I'll stick with it until forced to change when the new kernel reaches /current.
Offline
I just installed the -14 from testing and followed the wiki to the letter.
On reboot everythink worked fine, KDE started and my icons on the desktop weren't scrambled for a change.
Norm
Offline
The mkinitrd-4 packages fixes the problem with the rootfs filesystem detection, the VFS problems should be gone now.
greetings
tpowa
Offline
A little question about mkinitrd.conf: If I only want to load only ext3 and reiserfs, do I need to set REMOVE_FS=1 and FILESYSTEMS=ext3 reiserfs?
I've only set the FILESYSTEMS var and I also have xfs and jfs loaded as modules.
Some PKGBUILDs: http://members.lycos.co.uk/sweiss3
Offline
No, do NOT set REMOVE_FS to 1. But it's strange you get all the modules loaded. Maybe try to use quotation marks:
FILESYSTEMS="ext3 reiserfs"
Offline
yes the syntax is with "", without i don't know what happens.
oh and please rerun mkinitrd auto, mkinitrd legacy after mkinitrd upgrade to -4.
thanks
Offline
I added the quotes and reran `mkinitrd auto`, works well now.
Thanks a lot for the help.
Some PKGBUILDs: http://members.lycos.co.uk/sweiss3
Offline
Okay... my turn.
I followed the Wiki, regarding the setup of initrd and I still get shunted to the BusyBox prompt. The message I get, just before the # prompt is
/bin/sh: can't access tty; job control turned off
Is there a way to fix this?
Orjanp
Ørjan Pettersen
Offline