Error 18: Selected cylinder exceeds maximum supported by BIOS
-> the bios is too old and the kernel is byond the 8 Gbyte limit
Install the grub from rescue disc:
mount /dev/sda? /mnt/sysimage
mount --bind /dev /mnt/sysimage/dev
chroot /mnt/sysimage
grub-install /dev/sda
IF the partitions are as follows:
/dev/sda1 windows
/dev/sda2 extended
/dev/sda5 swap
/dev/sda6 /
/dev/sda7 /home
then you need to set /dev/sda2 as the boot partition with fdisk /dev/sda a 2
in the menu.lst of grub needs to be written: root (hd0,5)
Mittwoch, 14. Januar 2009
Montag, 29. Dezember 2008
siemens 4000 micro needs SM1
The siemens telefon 4000 4010 4015 micro needs Slim-Lumberg-SM1
The SM2 is not compatible!
The SM2 is not compatible!
Dienstag, 16. Dezember 2008
edit initrd image
1. Rename:
mv initrd.img initrd.img.gz
2, Uncompress:
gzip -d initrd.img.gz
3. Extract: (WARNING!! without "--no-absolute-filenames" extracts in your root "/")
mkdir root
cd root
cpio -i --no-absolute-filenames < ../initrd.img
4. Do the editing
5. New archive:
find . | cpio -o -H newc > ../initrd_new.img
6. Compress:
cd ../
gzip -c initrd_new.img > initrd_new.img.gz
7. Rename:
mv initrd_new.img.gz to initrd.img
mv initrd.img initrd.img.gz
2, Uncompress:
gzip -d initrd.img.gz
3. Extract: (WARNING!! without "--no-absolute-filenames" extracts in your root "/")
mkdir root
cd root
cpio -i --no-absolute-filenames < ../initrd.img
4. Do the editing
5. New archive:
find . | cpio -o -H newc > ../initrd_new.img
6. Compress:
cd ../
gzip -c initrd_new.img > initrd_new.img.gz
7. Rename:
mv initrd_new.img.gz to initrd.img
Montag, 1. Dezember 2008
howto repair the MBR in linux
1. Pop in the Live CD, boot from it until you reach the desktop.
2. Open a terminal window or switch to a tty.
3. Type "grub"
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
5. Type "setup (hd0)", ot whatever your harddisk nr is.
6. Quit grub by typing "quit".
7. Reboot.
2. Open a terminal window or switch to a tty.
3. Type "grub"
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
5. Type "setup (hd0)", ot whatever your harddisk nr is.
6. Quit grub by typing "quit".
7. Reboot.
Sonntag, 30. November 2008
keyboard writes just with capital letters
xmodmap -e 'add Lock = Caps_Lock'
and then press shift and caps_lock
and then press shift and caps_lock
Donnerstag, 6. November 2008
raid tools
To add a device /dev/sdc1 to the raid md0 after failure use
mdadm /dev/md0 --add /dev/sdc1
mdadm /dev/md0 --add /dev/sdc1
Montag, 27. Oktober 2008
add device to raid
To create a RAID10 do the following
mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
to insert a new hard disc by replacing a broken one do
mdadm --manage /dev/md?? --add /dev/newpartition
to monitor your RAID and to send an email if a disc fails:
mdadm --monitor --scan --mail=office@wimmer-christian.de
mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
to insert a new hard disc by replacing a broken one do
mdadm --manage /dev/md?? --add /dev/newpartition
to monitor your RAID and to send an email if a disc fails:
mdadm --monitor --scan --mail=office@wimmer-christian.de
Abonnieren
Posts (Atom)