🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #12902

Re: �������usb���̵�linux�����̣�

#12902
From: ����ˤ��һ��
Date: Sun, 03 Nov 2002 03:43
31 lines
2984 bytes
"lfree" <windows-free@163.com:s/windows/linux/> wrote in message
news:3dc550f4@News.Newsfan.Net...
> > > ��Ȼͨ��root����Ϊ/dev/ram�ǿ�������linux������
> > > ���ļ�ϵͳ��ram,��������Ҫ����initrd.img�ļ�����ѹ
> > > ����ļ�����Լ4M������ѹ����ļ��dz�������Ļ�����
> > > ���...............
> >
> > ��ʵ����ͦ�ã���Ӳ��û���������ˣ������������init=/somerc�ں˲���Ȼ��
��
> > somerc����fs��Ȼ��ʹ��pivot_root�л����ļ�ϵͳ��Ӳ���ϡ�
> >
> > �������ͨ��usb�����������һ�ҪWindows�ܷ��ʣ��������usb��ʹ��fat32����
��
> ��
> > ��syslinux���ںˣ�˵ʵ���Ҿ���syslinux��lilo���á�
> �������һ���÷��������Ҷ�syslinux����Ϥ��
> ����������Ǽ��ص��ڴ��

syslinux����lilo������Ҫ���ؼ�����Ҫ�����¼���������ں�
init=...    �������������һ���Ǹ��ű���
append="root=..." ���ļ�ϵͳ��λ��

�����������ôд��
init=/linuxrc

Ȼ����initrd������һ��linuxrc�ű���������ôд����Բ���RedHat��ɵ�initrc��
���¾��Ǽ�������Ҫ��kernel module��Ȼ�����pivot_root�л���
�������������
zcat /boot/initrd-2.x.xx-xxxx > initrd
mount -o loop initrd /path/to/somewhere
Ȼ�󿴿�/path/to/somewhere/linuxrc�ļ�
Technical Details
Message-ID: <3dc57c4c$1@news.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!News.Newsfan.Net
References: <3dc4b8af$1@News.Newsfan.Net> <3dc4ca3e$1@News.Newsfan.Net> <3dc550f4@news.cn99.com>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,1f640985daba8982
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2002-11-02 21:14:01 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!News.Newsfan.Net
From: "����ˤ��һ��" <windoze@yeah.net>
Newsgroups: cn.comp.os.linux
Subject: Re: �������usb���̵�linux�����̣�
Date: 3 Nov 2002 11:43:08 +0800
Organization: News.Newsfan.Net
Lines: 33
Message-ID: <3dc57c4c$1@news.cn99.com>
References: <3dc4b8af$1@News.Newsfan.Net> <3dc4ca3e$1@News.Newsfan.Net> <3dc550f4@news.cn99.com>
NNTP-Posting-Host: 202.103.199.28
X-Trace: mail.cn99.com 1036300133 49238 202.103.199.28 (3 Nov 2002 05:08:53 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Sun, 3 Nov 2002 05:08:53 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123