انجمنهای فارسی اوبونتو
کمک و پشتیبانی => برنامهسازی => نویسنده: ahmad511800 در 11 اردیبهشت 1391، 04:25 بظ
-
سلام دوستان به هر زحمتی بود relinux را برای ubuntu 12.04 نصب کردم وقتی دستور زیر را میزنم این خطا را میده
sudo relinux squashfs
ahmad@ahmad-G41T-M13:~$ sudo relinux squashfs
[sudo] password for ahmad:
Checking for bash [ OK ]
Checking for sed [ OK ]
Checking for find [ OK ]
Checking for passwd [ OK ]
Checking for rsync [ OK ]
Checking for mount [ OK ]
Checking for eject [ OK ]
Checking for libdebian-installer4 [ OK ]
Checking for memtest86+ [ OK ]
Checking for casper [ OK ]
Checking for mksquashfs [ OK ]
Checking for unsquashfs [ OK ]
Checking for genisoimage [ OK ]
Checking for os-prober [ OK ]
Checking for ubiquity [ FAIL ]
Installing ubiquity [ FAIL ]
Checking for user-setup [ OK ]
Checking for discover-config [ FAIL ]
Installing discover-config [ FAIL ]
Checking for laptop-detect [ OK ]
Checking for xterm [ OK ]
Checking for syslinux [ OK ]
Checking for util-linux [ OK ]
Checking for xresprobe [ FAIL ]
Installing xresprobe [ FAIL ]
Checking for archdetect [ FAIL ]
Installing archdetect [ FAIL ]
Checking for tree [ FAIL ]
Installing tree [ FAIL ]
Checking for dialog [ FAIL ]
Installing dialog [ FAIL ]
Checking for initramfs-tools [ OK ]
Checking for coreutils [ OK ]
########################
## STEP 1 of SquashFS ##
########################
Installing/Removing all packages needed to install/remove
Removing Popularity Contest [ FAIL ]
-
به اینترنت وصلی؟
-
آره یکی از بستههایی که میخواد نصب کنه را تو ترمینال زدم 250 مگابایت بود آیا باید کامل دانلود بشه
-
آره. باید نصاب و… رو از اینترنت بگیره. چون روی سیستم نیست
-
دم شما گرم نصب شد
امروز فایل ایزو را درست کردم و برای دوستم نصب کردم
خیلی خوب شده بود
-
سلام
دوست عزیز
اگه میشه لطف کن بگو چطوری این برنامه relinux رو نصب کردی ما که پدرمون در اومد و لی نصب نشد.
لطف میکنی مراحل نصبشو کامل و دقیق بگی؟
-
relinux را از سایت زیر دانلود کن
https://launchpad.net/relinux
///////
home folder را باز کن و فایل دانلود شده را تو home folder بریز
/////////////
(توجه: من جهت راحتی کار نام فایل رو به relinux.tar.gz تغییر دادم)پس شما هم همین کار را بکنید
////////////////
کد زیر را اجرا کن
tar -xvf ./relinux.tar.gz
////////////////////
بعدش کد زیر را
sudo cp -R usr etc /usr /etc /
////////////////
تا اینجای کار ریلینوکس نصب شد .حالا نحوه استفاده
/////////
دستور زیر فایل squashfs را می سازد
sudo relinux squashfs
/////////////
و بعدش با دستور زیر فایل iso ساخته می شود.
sudo relinux onlyiso
-
واقعا ممنونم که کمک کردین بالاخره منم تونستم نصب کنم...اما یه سوال برای من هم مثل شما برخی از بسته مثل اینکه نصب نیستند ..باید چطوری اونا رو هم نصب کنم؟
و یه چیز دیگه این ایزو که ساخته میشه در نهایت کجا دخیره میشه ؟
وقتی این ایزو رو روی یه سیستم دیگه نصب کنیم دقیقا تمام برنامه ها و پکیج هایی که نصب کردیم هم تو او سیستم لود میشه مانند همین سیستم فعلیمون؟
بازم خیلی ممنونم ازتون
-
دوباره امروز تست کردم اون دستور رو نمی دونم چطور شد دیگه فیل نداد ...
خلاصه اینکه این مراحل اومد :
friend@Friend:~$ sudo relinux squashfs
[sudo] password for friend: Checking for bash [ OK ]
Checking for sed [ OK ]
Checking for find [ OK ]
Checking for passwd [ OK ]
Checking for rsync [ OK ]
Checking for mount [ OK ]
Checking for eject [ OK ]
Checking for libdebian-installer4 [ OK ]
Checking for memtest86+ [ OK ]
Checking for casper [ OK ]
Checking for mksquashfs [ OK ]
Checking for unsquashfs [ OK ]
Checking for genisoimage [ OK ]
Checking for os-prober [ OK ]
Checking for ubiquity [ OK ]
Checking for user-setup [ OK ]
Checking for discover-config [ OK ]
Checking for laptop-detect [ OK ]
Checking for xterm [ OK ]
Checking for syslinux [ OK ]
Checking for util-linux [ OK ]
Checking for xresprobe [ OK ]
Checking for archdetect [ OK ]
Checking for tree [ OK ]
Checking for dialog [ OK ]
Checking for initramfs-tools [ OK ]
Checking for coreutils [ OK ]
########################
## STEP 1 of SquashFS ##
########################
Installing/Removing all packages needed to install/remove
########################
## STEP 2 of SquashFS ##
########################
Creating CD tree in /home/relinux
Done
/home/relinux
├── cleantmpusers
├── dummysys
│ ├── dev
│ ├── etc
│ ├── home
│ ├── media
│ │ └── cdrom
│ ├── mnt
│ ├── proc
│ ├── sys
│ ├── tmp
│ └── var
├── ISOTMP
│ ├── casper
│ │ ├── filesystem.manifest
│ │ ├── filesystem.manifest-desktop
│ │ ├── filesystem.squashfs
│ │ ├── initrd.gz
│ │ ├── README.diskdefines
│ │ └── vmlinuz
│ ├── isolinux
│ ├── preseed
│ │ └── custom.seed
│ └── README.diskdefines
├── tmpusers
├── tmpusers1
├── tmpusers2
└── tmpusers3
15 directories, 13 files
########################
## STEP 3 of SquashFS ##
########################
Copying /etc and /var to a temporary directory, so that we can work on them
Done. Removing unneeded files, and changing others
Done
########################
## STEP 4 of SquashFS ##
########################
Setting up ISOLINUX
Creating filesystem.manifest and filesystem.manifest-desktop
Setting Casper, Ubiquity, and LSB_RELEASE options
Copying your kernel and initrd to the livecd
########################
## STEP 5 of SquashFS ##
########################
Creating filesystem.squashfs
This will take a while so be patient
Adding stage 1 files/folders that the livecd requires.
Adding stage 2 files/folders that the livecd requires.
This will probably take longer than the first stage.
The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are making and try again.
friend@Friend:~$ sudo relinux onlyiso
[sudo] password for friend: Checking for bash [ OK ]
Checking for sed [ OK ]
Checking for find [ OK ]
Checking for passwd [ OK ]
Checking for rsync [ OK ]
Checking for mount [ OK ]
Checking for eject [ OK ]
Checking for libdebian-installer4 [ OK ]
Checking for memtest86+ [ OK ]
Checking for casper [ OK ]
Checking for mksquashfs [ OK ]
Checking for unsquashfs [ OK ]
Checking for genisoimage [ OK ]
Checking for os-prober [ OK ]
Checking for ubiquity [ OK ]
Checking for user-setup [ OK ]
Checking for discover-config [ OK ]
Checking for laptop-detect [ OK ]
Checking for xterm [ OK ]
Checking for syslinux [ OK ]
Checking for util-linux [ OK ]
Checking for xresprobe [ OK ]
Checking for archdetect [ OK ]
Checking for tree [ OK ]
Checking for dialog [ OK ]
Checking for initramfs-tools [ OK ]
Checking for coreutils [ OK ]
##############################
## STEP 1 of ISO Generation ##
##############################
Detecting your tools for ISO generation
Done
##############################
## STEP 2 of ISO Generation ##
##############################
Verifying your SquashFS file
The CD filesystem is not made by Relinux, and therefore, cannot be used. Run 'sudo relinux squashfs [configfile]' (without quotes, and replace configfile with your configuration file) to fix this problem.
friend@Friend:~$ sudo relinux squashfs [configfile]
Checking for bash [ OK ]Checking for sed [ OK ]
Checking for find [ OK ]
Checking for passwd [ OK ]
Checking for rsync [ OK ]
Checking for mount [ OK ]
Checking for eject [ OK ]
Checking for libdebian-installer4 [ OK ]
Checking for memtest86+ [ OK ]
Checking for casper [ OK ]
Checking for mksquashfs [ OK ]
Checking for unsquashfs [ OK ]
Checking for genisoimage [ OK ]
Checking for os-prober [ OK ]
Checking for ubiquity [ OK ]
Checking for user-setup [ OK ]
Checking for discover-config [ OK ]
Checking for laptop-detect [ OK ]
Checking for xterm [ OK ]
Checking for syslinux [ OK ]
Checking for util-linux [ OK ]
Checking for xresprobe [ OK ]
Checking for archdetect [ OK ]
Checking for tree [ OK ]
Checking for dialog [ OK ]
Checking for initramfs-tools [ OK ]
Checking for coreutils [ OK ]
[quote][code]/usr/bin/relinux: line 241: [configfile]: No such file or directory
[/quote]
########################
## STEP 1 of SquashFS ##
########################
Installing/Removing all packages needed to install/remove
########################
## STEP 2 of SquashFS ##
########################
Creating CD tree in /home/relinux
Done
/home/relinux
├── cleantmpusers
├── dummysys
│ ├── dev
│ ├── etc
│ ├── home
│ ├── media
│ │ └── cdrom
│ ├── mnt
│ ├── proc
│ ├── sys
│ ├── tmp
│ └── var
├── ISOTMP
│ ├── casper
│ │ ├── filesystem.manifest
│ │ ├── filesystem.manifest-desktop
│ │ ├── filesystem.squashfs
│ │ ├── initrd.gz
│ │ ├── README.diskdefines
│ │ └── vmlinuz
│ ├── isolinux
│ ├── preseed
│ │ └── custom.seed
│ └── README.diskdefines
├── tmpusers
├── tmpusers1
├── tmpusers2
└── tmpusers3
15 directories, 13 files
########################
## STEP 3 of SquashFS ##
########################
Copying /etc and /var to a temporary directory, so that we can work on them
Done. Removing unneeded files, and changing others
Done
########################
## STEP 4 of SquashFS ##
########################
Setting up ISOLINUX
Creating filesystem.manifest and filesystem.manifest-desktop
Setting Casper, Ubiquity, and LSB_RELEASE options
Copying your kernel and initrd to the livecd
########################
## STEP 5 of SquashFS ##
########################
Creating filesystem.squashfs
This will take a while so be patient
Adding stage 1 files/folders that the livecd requires.
Adding stage 2 files/folders that the livecd requires.
This will probably take longer than the first stage.
The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are making and try again.
[/code]
............................................................
برای رفع The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are making and try again. این پیام(مشکل)چکار باید کنم؟من نرم افزار زیاد نصب نکردم که بخواد این ارور رو بده...فقط یه بار اوبونتو بیلدر رو نصب کردم که تا نصف بک آپ گرفته بود بعد بستمش(آخه دیگه جلو نمیرفت و هنگ کرده بود)بعدشم نمیدونم کجا کپی شده بود(اگه خودش پاک نشده باشه ..من که پاکش نکردم)ولی در کل فک نکنم اونقدر بخاطر اون بوده باشه....
ممنون میشم راهنمایی کنید.
-
خدا رو شکر .مرسی دوست عزیز از این همه راهنمایی و لطفتت..
بالاخره منم تونستم با ریلینوکس یه بکاپ بگیرم (توزیم خودمو بسازم:d)
مسیر خروجی از برنامهrelinux , همینطور برنامه ubuntu builder:
/home
هست..که در اونجا من اول پوشه UBUNtu builder رو پاک کردم و مال ریلینوکس رو ه که مشکل داشت (نصفه رفته بود )پاک کردمش...
بعد دوباره دستور sudo relinux squashfs
را استفاده کردم بدون مشکل انجام شد ...س\س با همون دستور آخر هم ایزو ساخته شد..(که همه در همون مسیر :
/home/relinux
هستند..
امیدوارم همه بتونن بدون مشکل اینکارو انجام بدن....الا میخوام برم تست کنم ببینم که این ایزو رو میتونم تو وی ام ور نصب کنم یا نه....
-
relinux را از سایت زیر دانلود کن
https://launchpad.net/relinux
///////
home folder را باز کن و فایل دانلود شده را تو home folder بریز
/////////////
(توجه: من جهت راحتی کار نام فایل رو به relinux.tar.gz تغییر دادم)پس شما هم همین کار را بکنید
////////////////
کد زیر را اجرا کن
tar -xvf ./relinux.tar.gz
////////////////////
بعدش کد زیر را
sudo cp -R usr etc /usr /etc /
////////////////
تا اینجای کار ریلینوکس نصب شد .حالا نحوه استفاده
/////////
دستور زیر فایل squashfs را می سازد
sudo relinux squashfs
/////////////
و بعدش با دستور زیر فایل iso ساخته می شود.
sudo relinux onlyiso
منبع؟
-
هم فایل installموجود در خود فایل ریلینوکس
و هم این سایت:
http://www.howtoforge.com/creating-your-own-distributable-ubuntu-dvd-relinux
-
هم فایل installموجود در خود فایل ریلینوکس
و هم این سایت:
http://www.howtoforge.com/creating-your-own-distributable-ubuntu-dvd-relinux
اون پستی که ایشون دادند ؛ از آموزشی بود که بنده در فروم LinuxReview نوشته بودم اگرچه مشکلی هم نداره نشرش چون GFDL بود.
کلا در مورد ریمسترینگ دبیان و اوبونتو هر سوالی داشتید در خدمتم :)
-
اولا که به قول خود شما نشرش مشکلی نداره
دوما من همون مطلب را نگذاشتم بلکه اون مطلب را خوندم و چندین بار باهاش کار کردم
حالا اون مطالب یادگرفته های خودم است. می بینی که خیلی با متن شما تفاوت داره
سوما ممنون از آموزشی که گذاشتید تا ما یاد بگیریم و به دیگران نیز یاد بدهیم
-
اولا که به قول خود شما نشرش مشکلی نداره
دوما من همون مطلب را نگذاشتم بلکه اون مطلب را خوندم و چندین بار باهاش کار کردم
حالا اون مطالب یادگرفته های خودم است. می بینی که خیلی با متن شما تفاوت داره
سوما ممنون از آموزشی که گذاشتید تا ما یاد بگیریم و به دیگران نیز یاد بدهیم
ریلینوکس یه کمک بدقلق هست ولی ابزار خوب و کار راه اندازیه. اگر میخواید توزیع بزنید فکر کنم دستی بتونید squashfs و iso رو تهیه کنید بهتر باشه.
برای نصاب هم خودش خیلی دانلود میکنه، این دستور رو قبل از نصب و کانفیگش حتما بزنید:
sudo apt-get install casper squashfs-tools ubiquity-frontend-gtk
خیلی از چیزای اضافی که Relinux دانلود میکنه کم میشه. حجم نهایی توزیع میاد پایین.