(4GB ram, AMD Turion Dual-Core Mobile Processor M500,
http://laptops.toshiba.com/laptops/sate ... 05D-GS6000 )
I am using an intel 80GB SSD with 79.7 GB as an encrypted drive, and /boot as unencrypted.
This worked fine with debian's kernel and was able to boot with no problem other than having to set acpi=off (I heard also, one could try less extreme measures, some other level of acpi and thusly not have an only 30 min battery?)
I compiled linux-2.6.33.5 patched with grsecurity-2.1.14-2.6.33.5-201005311127.patch
When I tried the grsec kernel this time (I've used many grsec kernels, each time I seem to have a problem with configuring it, I'm sorry for being a dunce ) first it complained of the PnP bios and suggested I turn that off (pnpbios=off) then it couldn't find the VFS and kernel panicked.
So I rebooted the system, the SSD wouldn't boot, so I had to go into the bios and re-do the SSD harddrive password, then it was able to boot again, this time I edited pnpbios=off into the boot command line, but still the virtual filesystem couldn't be found:
(
http://pics.nexuizninjaz.com/images/plb ... d6es11.jpg
The vanilla not-compiled-by-me kernel worked:
(2.6.32.3-686)
http://pics.nexuizninjaz.com/images/908 ... yvzkye.jpg
Here is my config: http://omploader.org/vNGgyOQ/.config
I have 4GB of ram expandable to 8GB so I set the max ram in the kernel config to 64GB rather than the 4GB it was on.
This laptop is new and has a dual core 2.2Ghz AMD processor, so I set the kernel to be compiled for OPTERON/AMD64/K8 processors.
I pretty much set most extra stuff up as modules (sound cards, vidcards) except for the radeon driver which I set as compiled in.
This is my boot/grub/grub.cfg as generated by update-grub on debian testing (stable wouldn't even install on the laptop)
- Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3b884165-d988-4429-b10a-9b8f65bafb60
set locale_dir=($root)/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.33.5-grsec" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3b884165-d988-4429-b10a-9b8f65bafb60
echo Loading Linux 2.6.33.5-grsec ...
linux /vmlinuz-2.6.33.5-grsec root=/dev/mapper/sda5_crypt ro acpi=off quiet
}
menuentry "Debian GNU/Linux, with Linux 2.6.33.5-grsec (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3b884165-d988-4429-b10a-9b8f65bafb60
echo Loading Linux 2.6.33.5-grsec ...
linux /vmlinuz-2.6.33.5-grsec root=/dev/mapper/sda5_crypt ro single acpi=off
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3b884165-d988-4429-b10a-9b8f65bafb60
echo Loading Linux 2.6.32-3-686 ...
linux /vmlinuz-2.6.32-3-686 root=/dev/mapper/sda5_crypt ro acpi=off quiet
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-3-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 3b884165-d988-4429-b10a-9b8f65bafb60
echo Loading Linux 2.6.32-3-686 ...
linux /vmlinuz-2.6.32-3-686 root=/dev/mapper/sda5_crypt ro single acpi=off
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-3-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
Here is the /etc/default/grub which is what debian wants me to edit
- Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="acpi=off"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
(I don't see how I can edit individual entries there though?)
Both the working and non-working kernels use the same device as the root mount, but the grsec (newer) kernel can't find it.
Also the grsec kernel is intrid while the other kernels ... I don't know if they are or not, I don't know how to make a non intrid image, and I recall non intrid images didn't work so well in the past when I tried grsec plus encrypted drive.
- Code: Select all
/boot$ ls
config-2.6.32-3-686 config-2.6.33.5-grsec grub initrd-2.6.33.5.img initrd.img-2.6.32-3-686 lost+found System.map-2.6.32-3-686 System.map-2.6.33.5-grsec vmlinuz-2.6.32-3-686 vmlinuz-2.6.33.5-grsec
- Code: Select all
/$ ls
atcacl bin boot dev etc home initrd.img lib lost+found media mnt mozilla opt proc root sbin selinux srv sys tmp usr var vmlinuz
ls -lah vmlinuz
lrwxrwxrwx 1 root root 25 May 31 03:14 vmlinuz -> boot/vmlinuz-2.6.32-3-686
ls -lah initrd.img
lrwxrwxrwx 1 root root 28 May 31 03:14 initrd.img -> boot/initrd.img-2.6.32-3-686
Can you help me? How can this be made to boot?