You are not logged in.
Pages: 1
Hello everybody,
my wireless USB adapter wasn't supported by the Linux kernel by default, so I had to customize one. I downloaded the newest kernel (3.3.0), added the correct driver using menuconfig and compiled it. I followed the instuction given on the wiki.
I wasn't sure how to configure this into burg, so I copied the first entry:
menuentry 'Arch GNU/Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os --group group_main {
savedefault
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 4e5d16a9-9c8e-4622-8686-c2f46be043d0
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/disk/by-uuid/e8beb042-98df-4d3a-89c4-89a8b1cecee5 ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}and changed it to this:
menuentry 'Arch Linux 3.3.0' --class arch --class gnu-linux --class gnu --class os --group group_main {
savedefault
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 4e5d16a9-9c8e-4622-8686-c2f46be043d0
echo 'Loading Linux linux ...'
linux /vmlinuz-linux3.3 root=/dev/disk/by-uuid/e8beb042-98df-4d3a-89c4-89a8b1cecee5 ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux3.3.img
}The problem is that I get the error my root device can't be found when booting. I also tried /dev/sda* and by-label, but i doesn't seem to work. Am I doing something wrong?
Last edited by ClementL (2012-03-25 15:11:13)
Offline
Did you build a package or compile your kernel using a traditional approach? As the base for your customization try using this package for example.
Last edited by bohoomil (2012-03-25 16:16:42)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
What filesystem are you running on your root partition? Make sure you've compiled in support for that specific filesystem in your custom kernel.
Burninate!
Offline
Did you build a package or compile your kernel using a traditional approach? As the base for your customization try using this package for example.
I indeed did compile using the traditional method. I tried the method you suggested, but i don't know how to customize that one. Now it just compiles for an eternity to abort in the middle of the process because there is not enough storage space.
What filesystem are you running on your root partition? Make sure you've compiled in support for that specific filesystem in your custom kernel.
Yes, I made sure there is support for Ext2 and Ext4.
Last edited by ClementL (2012-03-25 19:56:10)
Offline
I indeed did compile using the traditional method
How did you create the initrd ?? (initramfs-linux3.3.img)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Using this command:
mkinitcpio -k 3.3.0 -g /boot/initramfs-linux3.3.imgLast edited by ClementL (2012-03-25 20:24:01)
Offline
Okay, you seem to be on top of things. Never-the-less, I have to ask: after you built the kernel, did you do a make modules_install ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Okay, you seem to be on top of things. Never-the-less, I have to ask: after you built the kernel, did you do a make modules_install ?
Yes I did. I followed the instructions on this page.
Offline
Pages: 1