Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old May 27th, 2005   #1
cristianommxp
Just Give Me the Beans!
 
cristianommxp's Avatar
 
Join Date: Mar 2005
Location: Brasil
Beans: 49
Send a message via ICQ to cristianommxp Send a message via MSN to cristianommxp Send a message via Yahoo to cristianommxp
install ubuntu with loadlin

Hi,

I have this PC:

- Pentium 100
- RAM 40MB
- HD 4GB
- CD-ROM Creative Quad Speed

Well, this PC doesn't boot by CD. The CD-ROM is an Creative and it's plugged on Sound Blaster ISA CARD.

So, the only form to install CD-DRIVE is using DOS drivers. I do this with some commands int AUTOEXE.BAT and CONFIG.SYS.

Well, I can install CD-ROM just using MS-DOS. I install as "E:"

So, I have to use "loadlin.exe" to start Ubuntu Install CD. But I don't know how to do this.

What's the loadlin.exe command line to start Ubuntu CD Installation program directly from CD-ROM?


10ks,


Cristiano M. Magalhaes
cristianommxp is offline   Reply With Quote
Old May 28th, 2005   #2
kye
First Cup of Ubuntu
 
Join Date: May 2005
Beans: 6
Re: install ubuntu with loadlin

download and install the program from this site onto a floppy disk, it will look for a cd if you have one and give you and option to boot from it.


http://btmgr.webframe.org/
kye is offline   Reply With Quote
Old May 30th, 2005   #3
cristianommxp
Just Give Me the Beans!
 
cristianommxp's Avatar
 
Join Date: Mar 2005
Location: Brasil
Beans: 49
Send a message via ICQ to cristianommxp Send a message via MSN to cristianommxp Send a message via Yahoo to cristianommxp
Re: install ubuntu with loadlin

"Smart BootManager" doesn't support my CD-ROM driver.

I know "Smart BootManager". So, the only solution now is to install Linux by Loadlin.exe.

The question I post is abou "Loadlin.exe", just it.

Do you know how to install Linux Ubuntu with "Loadlin.exe"?

10ks.

Cristiano M. Magalhaes
cristianommxp is offline   Reply With Quote
Old July 24th, 2005   #4
savage
5 Cups of Ubuntu
 
savage's Avatar
 
Join Date: Apr 2005
Location: Tucson, Arizona
Beans: 31
Ubuntu 7.10 Gutsy Gibbon
Re: install ubuntu with loadlin

I am in a similar situation, and have been searching high and low for a solution. I have an old laptop without a cdrom or network device. I've found boot disk(s) that will allow me access to a USB cdrom. Starting the installation from dos sure would be helpful. Otherwise I'm guessing that I will have to remove the hard disk, partition it and use some of the guides or posts for installing linux from the hard disk.

These links were helpful for getting access to the USB cdrom drive under dos.

http://www.stefan2000.com/darkehorse...S/Drivers/USB/
http://www.theinquirer.net/?article=10215
__________________
Plan your work, work your plan.
savage is offline   Reply With Quote
Old January 5th, 2007   #5
larsw
First Cup of Ubuntu
 
Join Date: Jan 2007
Beans: 4
Send a message via Skype™ to larsw
Exclamation Re: install ubuntu with loadlin - Solution!

Hi all,

stumbled over this rather old thread having the same problem, and just wanted to post my solution to use a USB DOS boot floppy disk to install Ubuntu on a Fujitsu Stylistic 3400 without internal CD-Rom and a Bios by no means supporting booting off a USB or PCMCIA drive. Smart Boot Manager does not do any good in that situation. So here is my very quick and dirty howto. Hope it helps someone. Will post it on other sites to maximize chances people discover.

NB: Why does Ubuntu not just ship with nicely usable floppy images for the same purpose? Anyhow, not doing so made me learn some things - call it a great day then

Regards
Lars

-------8<-------------8<------
Stylistic 3400 Ubuntu Install via FreeDos Boot Floppy with USB CD Support and external USB-DVD

Aim:
Install Ubuntu 6 on a Stylistic 3400 which can not boot from external USB or PCMCIA CD-ROM without going through the pain of a hdd/knoppix/dsl/foreign host installation.

The Stylistic is not the sole target of this method, but rather any outdated (er, better: older) hardware not supporting booting external devices should be designed to work with this method.


(I) Requirements

(I.i) Hardware

(a) A working external floppy drive (legacy system connector, not a USB floppy!) for the Stylistic 3400

(b) A working USB-DVD drive (or a CD-Drive if you have an installation CD, I had a DVD from c't magazine 25/2006)

(c) The Stylistic 3400 with an internal hard disk (or any other older PC hardware suffering the symptoms mentioned above)

(d) A working 1.44MB floppy disk. Be prepared to need more than one as these things are always damaged.

(e) A working PC to download some software (about a meg or two only) from the web


(I.ii) Software

(0) WinImage or another software that can write an .imz file to a floppy under your OS on the PC you will be using to prepare the boot floppy

(1) A "FreeDos" based boot floppy image
(I used this: http://www.fdos.org/bootdisks/autogen/FDSTD.144.imz)

(2) DOS USB ASPI Drivers for CD-Roms from Panasonic
(here: http://panasonic.co.jp/pcc/products/...er/f2h_usb.exe)

(3) DOS USB Storage/CD Driver from
(here: http://www.driver.novac.co.jp/driver.../mhairudos.zip)

(4) Linld, a dos based linux loader
(here:http://port.imtp.ilyichevsk.odessa.u...inld/linld.com)
Reason for not using "Loadlin": Loadlin even in version 1.6c had problems loading the large vmlinuz image of the ubuntu disk (loadlin error message "ran out of input data")
Linld.com can do it!

(5) The Ubuntu Install CD / DVD.



(II) Preparing the Boot Floppy

(a) use Winimage or the tool of your choice to write the fdd image from (1) to your lovely floppy disk

(b) extract the self-extracting archive f2h_usb.exe from (2)

(c) copy the files \f2h\usbaspi.sys and \f2h\usbcd.sys from the freshly created f2h subfolder to your floppy (root folder)

(d) extract the zip archive from (3)

(e) from the created unzip folder mhairudos, copy only the file di1000dd.sys to your floppy (root folder)

(f) edit the config.sys file on your floppy to look like
-------8<------
DOS=HIGH,UMB
DEVICE=FDOS\HIMEM.EXE
lastdrive=Z
rem The following line loads Panasonic's universal USB- controller driver
rem the /v switch makes it verbose
rem the /w switch makes it wait for you to connect your USB-CD-Rom and press enter
devicehigh=USBASPI.SYS /v /w
rem the following is an aspi mass storage driver for usb- connected HDs
rem and compactflash memory cards
devicehigh=DI1000DD.SYS
rem The following one loads CD-ROM driver
devicehigh=USBCD.SYS /d:USBCD001
------->8------

(g) edit the autoexec.bat file on your floppy to look like
-------8<------
@ECHO OFF
CLS
ECHO Welcome to FreeDOS (http://www.freedos.org)!
LH \FDOS\SHSUCDX.EXE /d:USBCD001
------->8------

(h) done, your floppy is ready to be used. Should work on nearly any hardware and support not only external CD-Roms but also DVDs, HDDs, maybe even sticks!?!?
What a great tool..... Wish we had had that 10 years ago!


(III) Booting the ubuntu installer

(a) connect the external FDD and CD drives to the Stylistic 3400

(b) insert the Ubuntu DVD (CD) and FDD

(c) boot the system off the floppy disk. It will ask you to connect your CD drive. Make sure it is spun up before pressing enter, otherwise it might not get detected.
Note: If you are using a bus-powered drive, make sure you use both USB-Plugs on the Stylistic (the docking station port and the unit's own port) or an additional power supply unit for the USB CD drive. Mine regularly dropped out during the later package copy operations when using it with the USB data cable connected only (though on a different Laptop the same drive even burns CDs with power only provided through the data cable and the additional power-to-usb-cable unplugged) - assume this is because the USB 1.1 ports on the 3400 docking station do not provide enough amps for the DVD to work in heavy load situations.

(d) once the floppy boot is complete, type in the following commands to start the linux installation:
-------8<------{Space}
c:
cd install
a:\linld image=vmlinuz initrd=initrd.gz cl=root=/dev/ram
------->8------{Space}

(Note: C: is assumed the drive letter assigned to your external CD-ROM. If your hdd on the stylistic holds dos-recognized partitions, it might be d: or e: etc here. Look for the output of SHSUCDX.exe, it will tell you what letter has been assigned)

(e) there you go. Ubuntu installer will load

(f) after the language and keyboard settings have been made, the installer will look for the CD drive. It won't find the USB drive, so we have to tell it:
- When asked whether you want to load cd drivers from a floppy, say no.
- Next, you are asked to select manually from a list. Do so, and select "cdrom".
- Next, it will ask you to specify the cd device. type in
-------8<------
/dev/scd0
------->8------
and confirm with enter. This will give you access to the CD drive.

(g) From here on, piece of cake. Follow the installer and fill in whatever you need to do


TADA!
You just installed Ubuntu with a FREEDOS BASED USB BOOT FLOPPY. Incredible!
larsw is offline   Reply With Quote
Old July 23rd, 2007   #6
ilandson
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 1
Re: install ubuntu with loadlin

I have been using the steps listed to load Ubuntu's ver 7.0 but I get a kernel panic error when i launch linld.
her is what I did.

c:
cd isolinux
a:\linld image=bzlinuz initrd=initrdfs.gz cl=root=/dev/ram


I get the following error

Kernel Panic: no init found. Trying to pass init= option to kernel

any Ideas
ilandson is offline   Reply With Quote
Old August 11th, 2007   #7
0graham0
A Carafe of Ubuntu
 
Join Date: Jul 2007
Beans: 86
Ubuntu 9.04 Jaunty Jackalope
Re: install ubuntu with loadlin

This worked for me, using a Xubuntu 7.04 alternative install cd:

linld image=d:\install\vmlinuz initrd=d:\install\initrd.gz "cl=root=/dev/ram boot=install ramdisk_size=1048576 devfs=mount,dall"

If you are using a different cd just check the directory where vmlinuz and initrd are stored
0graham0 is offline   Reply With Quote
Old November 13th, 2007   #8
Helygog
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 1
Re: install ubuntu with loadlin

Thank you Lars for such a useful set of information. I have successfully used your method to get Xubuntu 7.10 loaded on an old IBM Thinkpad 240 (no CD-ROM drive but an external bootable floppy drive). I was able to use a USB CD drive and install with onlt two slight changes.

1. Following your instructions to the letter I forgot to copy linld.com to the floppy! D'oh!

2. After some trial and error I used the following command to start the load from CD:

linld image=d:\install\vmlinuz initrd=d:\install\initrd.gz

I used the Xubuntu Alternate image CD fro i386.

Thanks again. I had almost given up and was going to throw the laptop away!

John
Helygog is offline   Reply With Quote
Old April 14th, 2008   #9
1956moonraker
First Cup of Ubuntu
 
Join Date: Apr 2008
Beans: 1
Re: install ubuntu with loadlin

Thank you all, esp. Lars, John & Graham for really useful stuff. My problem: trying to get Ubuntu 7.04 installed on a Compaq Evo N1015 laptop whose DVD/CD station is u/s. Followed above instructions/hints, and found a few new things: I got linld097.com from troglabit.com/files/linld, and found vmlinuz and initrd.gz on the Ubuntu 7.04 distribution CD under /casper. Also I copied linld097 to the floppy root, as John mentioned.
Armed with all this, I succeeded in getting through as far as starting up linld, with the external CD station showing up as c: - so far so good. But after a bit of chewing the cud, linld stalled with the message: "crc error -- System halted".
Suspecting that linld does a ramdisk check, I experimented a bit with the ramdisk_size parameter, as suggested above, but no joy. Anyway, how can I find out what my ramdisk size is from the DOS prompt? Am I even on the right track, or is there some other problem here?
Any suggestions?
Robin
1956moonraker is offline   Reply With Quote
Old June 2nd, 2008   #10
lloeki
5 Cups of Ubuntu
 
lloeki's Avatar
 
Join Date: Sep 2007
Beans: 25
Re: install ubuntu with loadlin

excellent! this worked for me to install hardy heron xubuntu alternate on an old machine with win95 rev A, so no usb, floppy drive dead, can't boot from CD and no bios netboot! insane...

I then set up samba on another machine, copy linld097.com from there and exit to msdos. unfortunately only the cd root is readable, all subdirs appearing empty, so can't reach kernel files! back into win95, copy vmlinuz and initrd.gz to c:, give that to linld and marvel at the kernel booting.

in the end for a PII 266 64Mb of ram it runs so much better than win95 and can do all the latest stuff so much more securely.

that's another win for linux
lloeki is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:33 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry