LinuxForum.Fans
Тема

Ubuntu Linux и Windows XP

Автор: MorandiTM 39 сообщений 8035 просмотров
#73797

как записывать образы в курсе?
не файлы, а именно образы дисков? smile

#73840
MorandiTM написал:
Диски решил не разбивать, под Ubuntu решил отдать 4О Гб - не жалко.

Под Swap только 1 G не пожалейте. Памяти у Вас не так много, swap пригодится.

#73852
Termo написал:
как записывать образы в курсе?
не файлы, а именно образы дисков? smile

Вроде как да. Я пытался это сделать через UltraISO на флешку, но папка почему-то постоянно переименовывалась. Потом плюнул.
Ну, собственно все выше описано.

#73856

Господа!
Что-то Termo меня напугал. А может я и правда не знаю как записать образ на диск.
Алгоритм такой: запускаю UltraISO. Открываю то, что скачал с оф. сайта Ubuntu.
Софтина что-то типа как в проводнике показывает все это. Затем записываю образ жесткого диска. Вставляю болванку в привод, в софтине указываю эту болванку, ну, и нажимаю на запись.
Все ли верно?

#73860

Не знаю что за прога UltraISO. Но должен быть пункт "Записать образ диска". Иначе запишутся просто данные, диск не будет загрузочным.

#73870

так и будет.
в UltraISO нужно выбирать пункт типа "записать образ на CD".
иначе просто диск и папки на нем...

#73929

Все... у меня крыша ща поедет.
Записал на диск образ, сидюк диск выплюнул, все как положено.
Вставляю диск в комп, на котором буду якобы ставить убунту. Проводник даже диска не видит никакого.
Вставил диск в ноут... ноут открыл его в проводнике , но открыл его пустым! то есть на него словно нифига не поставилось....

с флешки не получилось! с диска не идет! чо еще мне делать, парни????
я себя дауном ощущаю

#73934
MorandiTM написал:
с флешки не получилось!

может всё таки на флешку сделать упор, т.к. видать программы для записи дисков умеют в винде всё, кроме собственно записи дисков.
предлагаю ещё раз unetbootin как средство записи на флешку.
единственное, если у вас pptp\vpn\(прочая морально устаревшая технология раздачи интернета пользователям), то лучше даже не начинать.

#73936

Это всё Ваша суперпрограмма - UltraISO.
Вы чувствуется ничего не записали smile

#73937

Не совсем понял Вас, system-root!
Я могу еще раз проделать тоже самое с флешкой.
Не понял Вас по поводу VPN. Да, у меня в сети выход через VPN. Это плохо?

Durc, я боюсь, что Вы правы. Но не могу понять иного!
Почему со стационарного компьютера в проводнике даже диск этот не открылся?
С ноутбука открылся, но пустой.

Имеется локальный репозиторий. У меня уже мысль промелькнула, а может оттуда как-нибудь. Но...
возможно то, что я сейчас фигню сморожу, Вы меня остановите в этом, если сморожу. Я не уверен, что на этом репозитории есть Ubuntu.
Пробовал оттуда ставить Debian, обновляться, один раз было даже чуть не убил...
Но что-то как-то не знаю даже...

#73939

А если я сейчас попробую еще раз сделать все то же самое с флешкой.
Вы меня сможете проконтролировать, господа?

#73940

Ну есть ещё вариант если стоит хроша воспользоватса grub4dosВот ман по нему.

text

Friday, August 31, 2007
Install any Linux distro directly from hard disk without burning any DVD

After you download any Linux distro from the internet, you have to burn it to a DVD, CD or a number of CDs to install it. That CD or DVD is generally used only once after which it lies unused , and worse, almost every Linux distro comes up with a new release every 6 months. So if you are in the habit of upgrading to every new version, you must have dozens of CDs lying at the bottom of your drawer. What a wastage of CDs! But with a little trick you can install any Linux directly from the hard disk without burning a single CD or DVD. The prerequisite of this trick is to have an operating system already installed on your computer. This is obvious because unless you are able to boot into your machine, you can't install anything; and we are not going to boot from the Linux disk because we aren't burning any. Here I'm going to focus on Microsoft Windows as the pre installed operating system.

Almost all Linux installers uses two files to boot the computer: a Linux kernel, and an initial root file system containing a minimal set of directories that is mounted prior to when the real root file system is available. This initial root file system is also called Ram disk (initrd). We will use these two files to boot our PC. Now lets get to the actual procedure.

1. The first thing you will have to do is copy the ISO file(s) of the Linux to your hard disk (ofcourse, you already have it). Make sure that the partition is FAT32 unless the distro you are installing has native NTFS read/write support. Some distros require you to copy the ISO file(s) to the root of the partition. If you keep it inside a folder, the setup might not be able to detect it.

2. Use Winrar to open the ISO file (you need not need to extract it). Now you will have to extract the two files I talked about earlier. The files are usually found inside a directory called isolinux. Different distros might place the files in different location; you just have to search for it, but it isn't hard to locate. These two files are also named differently in different distros. The files that you will need to search and extract are: (the kernel file is shown in green and the Ram disk is shown in red)

Fedora: vmlinuz and initrd.img

Suse: linux and initrd

Mandriva: vmlinuz and all.rdz

Ubuntu: vmlinuz and initrd.gz

Gentoo: gentoo and gentoo.igz

Knoppix: vmlinuz and initrd.img

Slackware: bzImage and initrd.img

Debian: vmlinuz and initrd.gz

3. After you have extracted the two files, copy them to c:\boot (you will need to create the folder "boot")

4. Now download the file called grub4dos from here. Extract the folder "boot" and the file "grldr" from the downloaded zip file. Inside the folder "boot" is another folder called "grub"; copy the folder "grub" to c:\boot. Copy the file "grldr" to c:\

5. Open c:\boot\grub\menu.lst and add these following lines. (Notice that hd0 refers to the first hard drive. If you have more than one hard drive, they will be named hd1, hd2 etc. Replace hd0 with the proper hard drive number incase you have windows installed on another drive.) Replace Linux_kernel and Ram_disk with the appropriate file names below. (the ones you copied to c:\boot)

title Install Linux kernel (hd0,0)/boot/Linux_kernel initrd (hd0,0)/boot/Ram_disk

6. Now you have to add grub to your c:\boot.ini file. You can open boot.ini by clicking on Start>Run and typing c:\boot.ini. If Windows does not allow the file to be modified, then go to Control Panel>System and click on the Advanced tab. Now under Startup and Recovery click Settings and then under System Startup click Edit. Open boot.ini and add this line in the end.

C:\grldr=”Start GRUB”

7. You are now ready to install Linux. Restart your PC and from the boot screen select "Start GRUB". This will load GRUB. From the grub screen select "Install Linux". During the setup you will be asked the source of installation. Choose hard disk and then select the hard drive partition where you copied the ISO files. Sometimes you might have to type the whole path of the partition and the exact name of the ISO. So write it down before you begin.

I have personally tested this with Fedora, Suse and Mandriva and it works without problem. I have no doubt it will work for others too.

Update: dougfractal adds that this is possible from Linux too. The method as he describes is:

From the terminal enter these commands

sudo mkdir /distro sudo chmod `whoami`:`whoami` cp MYLINUX.iso /distro/distro.iso

Now extract Linux_kernel & Ram_disk to /distro#

Open /boot/grub/menu.lst

#ADD NEW ENTRY# title Install Linux root (hdX,X) kernel /distro/Linux_kernel initrd /distro/Ram_disk

Reboot and select "Install Linux" from grub.

можеш попробовать. Саму прогу найдёш в инете. Если не найдёш напишы я выложу.

#73942
MorandiTM написал:
сделать все то же самое с флешкой.

это как?

MorandiTM написал:
Да, у меня в сети выход через VPN. Это плохо?

да, это означает, что вы должны сначала почитать документацию прежде чем ставить debian с флешки via VPN

#73944

Читал я! Весь день сегодня читал! И не без Вашей помощи.
А результатов - 0...

#73949

Что то не верится, что в Вашей UltraISO нельзя записать образ диска.
Посмотрите как следует. Образ открывать не надо, его надо просто показать программе как файл.

#73959

Если что то не ясно нащот того что я написал напишы что имено. Постараюсь обяснить wink

#74026

В общем... сейчас отфомартировал флешку, затем через через Unetbootin кинул все добро на флешку.
Ушел на рестарт. Та же проблема, о которой писал выше: черный экран! Как-бы это глупо ни звучало, в этом черном экране сидит синий экран, в котором можно выбрать Default или Help. Но ничего выбрать нельзя, как-бы неактивные кнопки, если так можно выразиться. Ниже курсор мигал. Решил подождать.
Так уже было, думал, что ничего хорошего не выйдет из этого.
Далее появилась заставка с надписью Ubuntu. Решил еще подождать.
Подождал и появился рабочий стол Ubuntu.
Сейчас разбил жесткий. 1 Gb отдал под swap-linux, остальное... ну, в общем куда-то тоже отдал.
Вроде со всем разобрался.
Думаю, что можно ставить метку "решено".
Все получилось так, как в прошлый раз с пакетами моими udev. Поставил гном и все решилось.
И тут... чего-то сделал и все поехало.
Спасибо всем.

#87113

Решено!

Войдите или зарегистрируйтесь, чтобы ответить.