LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2676|回复: 8

那伟大虾能帮帮忙:DSL 版的mini linux(.img文件) 如何在windows下变成.gho 文件 或

[复制链接]
发表于 2008-1-30 16:00:13 | 显示全部楼层 |阅读模式
那伟大虾能帮帮忙:DSL 版的mini linux(.img文件) 如何在windows下变成.gho 文件  或  如何安装在硬盘上?  我在这先谢谢了!!
发表于 2008-1-30 17:45:22 | 显示全部楼层
在win下用winimage可以解到硬盘上。。
至于安装。。不懂。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-2 14:58:32 | 显示全部楼层
用winimage在windows下很多系统文件都消失不见了,请问还有其他的打开.img格式的工具吗?



Post by gsli52;1812761
在win下用winimage可以解到硬盘上。。
至于安装。。不懂。。
回复 支持 反对

使用道具 举报

发表于 2008-2-4 21:15:54 | 显示全部楼层
在linux下我倒是知道,找一个livecd,比如Ubuntu,Fedora,用命令cat *.img > /dev/sda 直接把img文件直接写到U盘上,

注意:1.把sda改成hda就是硬盘了,失败了启动不起来不要怨我哦。
      2.如果是硬盘,这样可能更改你当前系统的引导分区,导致下一次启动失败。

再可以先在虚拟机下试试,找一个livecd的iso文件,
回复 支持 反对

使用道具 举报

发表于 2008-2-10 16:35:41 | 显示全部楼层
winimage在windows下很多系统文件都消失不见了

你可能把文件解到fat文件系统的分区里了。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-12 15:16:14 | 显示全部楼层
我看了一篇关于汉化min linux  的文章(就是这个版面的好象是《DSL + xfont-intl-chinese + FCITX 定制成功!(已加入文泉驿字体)》 )上说通过dsl-hdinstall可以 安装到硬盘上,请问下dsl-hdinstall是什么?



在这先谢谢darius和gsli52提供的建议和帮助
回复 支持 反对

使用道具 举报

发表于 2008-3-19 01:29:15 | 显示全部楼层
在windows用physdiskwrite
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-20 17:58:30 | 显示全部楼层
我打算用G4L把它做成ghost镜像这样可以吗?
回复 支持 反对

使用道具 举报

发表于 2008-3-21 09:00:36 | 显示全部楼层
你看了dsl的安装指导了吗
这里是指导:
1) Boot up the DSL livecd. If your computer does not support booting from CDROM drive, then download the boot floppy image from the DSL website and get the RAWRITE32.exe program and create a boot floppy disk. Then use the boot floppy + liveCD to start up DSL.

2) Open up an xterminal window (click on the A:Terminal icon or right-click on the desktop and choose a terminal) and type:




        sudo -s
        cfdisk /dev/hda

Assuming that you are ready to blow away all of your existing data storage (you might want to back up any special drivers and other important stuff in case you want to re-install the original OS), create 2 new partitions:

hda1 Linux Swap Type 82 Size (at least 128mb)
hda2 Linux Type 83 Size (the rest of the disk space, I recommend at least 2gb). Flag this partition as bootable.
(两个分区都可以设成主分区)
Before you leave cfdisk, write the changes to the partition table with the Write option. If your hard disk is really big, try leaving some unpartitioned space for future use.

Your DSL installation will go to partition hda2.
Your DSL swap partition will be hda1.
3) Next, you will need to reboot your system, again with the DSL livecd ...

4) Then type:

        sudo -s
        mkswap /dev/hda1
        swapon /dev/hda1  [If you get "device or resource busy" here, ignore it.]
5) Then follow the hd install script. The FAQ is at http://www.damnsmalllinux.org/dsl-hd-install.html .

So you type:

        dsl-hdinstall
and follow the instructions EXACTLY. In other words, if it tells you to type (for example) "hda1" then you type in "hda1". But if it tells you to type in "/dev/hda1" then you type in "/dev/hda1". If you are given a choice like "(y/..)", and your answer is yes, type in y and hit Enter -- don't just hit Enter, and don't type the full word "yes".

You wil be asked whether you want a bootloader, say yes and then you will be prompted to choose your loader, either GRUB or LILO. (有一次安装的是lilo,但引导不成功,grub都成功了)

6) Your system will need to reboot again. Remove the CD, and this time boot to the hard drive and continue following the instructions.

Note: There have been many reported problems with networking disappearing after installing DSL 3.2.

Note: If you are attempting to install to a hard drive from within VMWare, you need to define your hard drive as an IDE, NOT the recommended SCSI.

Retrieved from "http://damnsmalllinux.org/wiki/index.php/Installing_to_the_Hard_Disk"
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表