Showing posts with label eeepc. Show all posts
Showing posts with label eeepc. Show all posts

Sunday, February 21, 2010

Problem with HFS+ Journal - Bad Journal Magic

I think i am just not suitable to use HFS+. I though Journal will auto recover faster and easier, in the end I am more problem. The whole thing started when My eeepc starts to hang/crash randomly especially after a major shift to the machine. I serious thing some parts is spoil or loose from the recent dismantle of the machine.

In short, after the recent crash which cause me to reinstall my Mac OS, I choose to use HFS+ Journal believing that it will recover easier. However, after it's first crash, I have this problem, Bad Journal Magic Number or something similar. Which means, it cannot read the first journal node. I have not found any solution to recover this but to make the device boot again, this is how you can turn off the journal bit.

1. Boot with Mac OS X dvd
2. Launch terminal
3. Run the following command
/System/Library/Filesystem/hfs.fs/hfs.util -N /dev/disk1s1
4. Close Terminal
5. Run Disk Uitility
6. Select the correct partition and run "Repair Disk"
7. After it shows, partition repaired, run "Verify Disk" again to verify

Good luck! Anyway, I think I cannot get along with HFS+.

Saturday, February 20, 2010

Restoring MBR on Linux and Mac OS on eeePC

Bad things happens all at one go. My Mac OS crash on me and I am not able to recover from the B-Node problem.

Recover Grub2 for Ubuntu Karmic
--------------------------------

1. mount the harddisk consist of Ubuntu Karmic by clicking "Places -> XXGB File System"

2. open terminal and do a tail

mount | tail -1

3. You should see something similar

/dev/sda2 on /media/0d104aff-ec8c-44c8-b811-92b993823444 type ext4 (rw,nosuid,nodev,uhelper=devkit)

4. Check the boot partition by

ls /media/0d104aff-ec8c-44c8-b811-92b993823444/boot

You should see something similar

config-2.6.18-3-686 initrd.img-2.6.18-3-686.bak System.map-2.6.18-3-686
grub lost+found vmlinuz-2.6.18-3-686
initrd.img-2.6.18-3-686 memtest86+.bin

If this is wrong, then your partition is wrong.

5. Now everything is correct and is time to recover. Run the following to install GRUB into the correct directory and drive name.

sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda

If you get BIOS warnings try:


sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda --recheck

6. If all goes well, you should see the following.

Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0) /dev/sda

More information from below:

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Recover Boot Loader for Mac OS
--------------------------------

Give up. After googling for sometime, I cannot find any solution, might as well reinstall, since i have reinstall from the B-Node problem. Time is important now as I am rushing to complete my development.

Wednesday, February 17, 2010

Support Multi-Touch for eeePC in Ubuntu Karmic

I have upgraded my eeePC to Ubuntu Karmic for quite some time and I miss my muti-touch, especially when I have been using Mac OS recently. Thus my quest to enable it begins. After googling around, I realized that it can be very simple.

To enable 2 finger scrolling, do the following.

Activate at "System -> Preferences -> Mouse -> Touchpad -> Scrolling -> Two-finger scrolling"

According to https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks#Asus Eee PC 1005HA , you need to install a script from the following,

http://blog.twinapex.fi/2009/10/11/setting-up-multi-touch-scrolling-for-ubuntu-9-10-karmic-koala-linux-on-asus-eee-1005ha-netbook/

however, my works when I have enable the 2 finger scrolling. Wonder what does that script do.

Wednesday, January 27, 2010

eeepc refuse to boot

One day, my eeepc refuse to boot when I was playing with MacOS installation. It keep stuck @ the blank screen. After sending to the service center, they revived my eeepc. few hours later, i killed it again.

So instead of sending it back again, I decided to solve it myself. After googling and also from the TIPS from the engineers, I know I need to reset something but duno what. After dismantle the whole machine and also google around, the below is the steps to recover.

1. Take out battery and power cable
2. Press power button for 15-20s (different source got different timing, I guess the longer the better)
3. Locate the CMOS "button". It is a two trangle shape, just below the RAM, you need to take out the RAM cover and the RAM itself. You should see two triangle side by side.
4. Short the CMOS with a paper clip.

Put everything back and restart. It should work.

Sunday, March 15, 2009

MAC OS X on eeepc!

http://brokenfloppy.com/2009/01/ultimate-guide-triple-boot/

8. On the HDD Darwin boot loader appearance, press F8 quickly and at the "boot:" prompt, type "-v -f" (without quotes) and wait as verbose booting takes place successfully except for "Couldn't allocate Class RTL8169" error (see later) into the Welcome screen video sequence BUT without sound (as expected since no audio driver installed)...... smile.gif

9. BUT when the "Before You Begin...." screen appears and the USB keyboard is identified, followed by the "Welcome" screen and the country choice is made, followed by "Select Your Keyboard" screen and the keyboard layout is chosen, all without any problems, followed by the "Do You Already Own a Mac?" screen, THEN making ANY selection, e.g. "Do not transfer my information now", and clicking the "Continue" button causes the system to hang (even though the mouse pointer can be moved) for a while BEFORE the Welcome screen video sequence loops again back tothe "Before You Begin...." screen..... sad.gif

10. Solution: AFIK this solution is thanks to greyMD -

1. Run single user mode using the -s flag while booting i.e. type -s at the "boot:" prompt and wait for the prompt ":/ root#" to appear (I had to boot -s twice and press Enter after the static cursor appeared to get the prompt; you may not need to), type each of the following lines, followed by Enter and then waiting for ":/ root#" to re-appear.

2. Mount the file system by typing "mount -uw /" (without quotes) at the ":/ root#" prompt.
3. Change the root password by typing "passwd root" at the ":/ root#" prompt and then typing in a new root password and retyping it again as requested.
4. Create the .AppleSetupDone file by typing "touch /var/db/.AppleSetupDone" (without quotes) at the ":/ root#" prompt
5. Boot the system by typing "exit" (without quotes) at the ":/ root#" prompt.

11. Reboot from HDD with "-v -f" and the OS X Login screen is presented; enter "root" as Name and for Password, the root password chosen previously, and the system logs you in as System Administrator.

Having rebooted with -v -f successfully…. the System Profiler shows.....
Chipset Model: Graphics by NVIDIA,
VRAM (Total): 256 MB
ROM Revision: NVinject 0.2.1
plus 1152x870@75Hz resolution 32-bit Color depth with Hardware Accelerated CI and QE Supported.....