ACPI & Install NetBSD from USB (plant ISO to USB)

Source: Internet
Author: User

Recently, ACPI is a power management protocol architecture of Intel, Microsoft, and other vendors on x86.

My suspend to ram still cannot be wakeup. the S3 sleep status seems perfect, and even the power button lights are the same as the standard S3 sleep. The light of the light green lights flash, but after the second press the power button, yarn cannot return to the previous state. The yellow light flashed twice and then rose from the IDE. Obviously, the BIOS failed to identify the sleep status and thus jumped to the previously set waking vector. It seems to be a hardware or BIOS problem, but xubuntu can be very good and depressing.

 

What's even worse, Linux only consumes 4-4 power on C-class ~ 5 W, and WTOS reached 8 W, which is absolutely intolerable.

 

In this way, the previous work can only be put first. First Study BSD, because it is easier to transplant than NetBSD code, I plan to attach a NetBSD to the USB and then test it on C-class. First, NetBSD 5.0.1 is installed on VMWare Player, and the installation guide process is nice. Next, use a USB flash drive to guide ISO, and Google to Google. The resources are limited. Find the correct topic.

Http://wiki.netbsd.se/index.php/How_to_install_NetBSD_from_an_USB_Memory_Stick

Http://jmcneill.spaces.live.com/blog/cns! F507161c07e89cbe! 170. Entry

 

I tried both of them and the results were not successful. Then there are other items, such as unetbootin and multibootiso, which seem to be embroidered pillows one by one and are useless!

Back to the origin in a circle, believe that this Jared is more reliable, or re-study his mkmemstick. Sh.

 

Found such a sentence

 

Lease note that this script depends on the sysutils/cdrtools package for extracting the contents of the release ISO.

Suddenly turned to find a cdrtools-2.01.01a72.tar.bz2, need gmake, have to find a gmake-3.81.tgz, do not have to have installed

 

 

Damn error still exists

 

% sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img

=> extracting iso imageisoinfo: not found
 done.
 => copying /usr/mdec/boot to /tmp/makeimg1000/rootfs
 => building filesystem image
Calculated size of `i386memstick-5.0.1.img': 90112 bytes, 3 inodes
Extent size set to 8192
i386memstick-5.0.1.img: 0.1MB (176 sectors) block size 8192, fragment size 1024
        using 1 cylinder groups of 0.09MB, 11 blks, 64 inodes.
super-block backups (for fsck -b #) at:
 32,
Populating `i386memstick-5.0.1.img'
makefs: Writing inode 3 (/tmp/makeimg1000/rootfs/boot), bytes 40960 + 8192: No space left on device
fatal: mkmemstick.sh
If you don't know what to do, Google. Search for 'netbsd imageisoinfo not found' and there is only one result (Yahoo and Baidu are all the same)
http://www.area51.gr.jp/~rin/diary/?date=20091219
Depressing. It's Japanese! Bully! According to the above changes
- dstbase="/tmp/makeimg$(id -u)"
+ dstbase="${HOME}/work/NetBSD/makeimg"
I really doubt that little Japan is playing with me. He is just a target path. How can this problem be solved.
Let me look at the sh script. I thought about it. Why not found? I thought of Jared, saying that the script depends on cdrtools. The script contains the isoinfo command. Then I tried to run isoinfo, this command is unavailable.
I suspect that my cdrtools is not installed, but I run the gmake command according to the reame. NetBSD command under cdrtools. As for readme. xxxbsd, I don't know if I have read it.
What did I say above? I don't care. This is the time to complete the trick.
Under cdrtools, 'Find.-Name isoinfo', hey, I found it, and I copied it directly to/bin (in fact, my previous gmake is also so neat ).
Unexpectedly, this solved all the problems. The script was executed all the way to generate my lovely IMG.
Well, I finally got it out. I thought that only Japan could find a solution to this problem, and we couldn't understand the Japanese language. Let's record it and add a brick to the harmonious BSD!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.