LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 01-20-2007, 02:32 AM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
install DSL onto a external HardDrive then plug into a laptop


hi there,

he is my problem, i have been given a laptop with no CD drive/floppy drive.

So what i'm trying to do is boot up DSL on a computer and plug in a USB hardrive (the laptop harddrive with a IDE/USB converter) and then run the 'install to USB-HDD' then plug the harddrive back into the laptop and boot it.

but it's not working, can someone tell me how i can get this to work?

i have an external USB harddrive caddy, and a computer with a CD rom drive.

I want to install DSL on a laptop without a CD drive of diskette driver.

no my laptop wont boot to USB ... i don't think. it's an old PIII 400mhz dell latitude LS
 
Old 01-20-2007, 03:40 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Looking at some old dell configurations... I see those laptops were built without any removable media devices - it was expected you would use external floppy or dvd or flash drives.

The easiest install would, thus, be from a USB thumb drive (if you have get hold of one.) You should check the bios to see if it will support booting from a USB drive, as these books have to be recovered somehow. If it does - the very easiest install would be from there.

It may be possible to do the install from a ramdisk on the hard-drive... provided you haven't erased the previous OS.

I cannot see if there is a network card - a net install would be something to explore.

You will have a very hard time doing things the way you are trying.

You are trying to turn an external USB installation into a working internal IDE installation. All the sda's will turn into hda's and the drivers in the bootup kernel will be all wrong (for USB not ide).
 
Old 01-20-2007, 05:45 AM   #3
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
it has a network card and i could do an PXE installation, do you have a how-to for a PXE installation?

the harddrive i'm trying to use is blank, so there is no OS.
 
Old 01-20-2007, 06:47 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
the harddrive i'm trying to use is blank, so there is no OS.
Well that's a problem.

You understand that it was always going to be a problem getting any OS onto this machine. With no running OS currently installed, most of the fancy tricks are denied you.

You want to look at USB boot in bios. Confirm that this is not an option by actually looking in bios. This will solve all your problems in one go so is worth a bit of effort.

Another hack is to insert the HDD into another laptop - install to that laptop, minimally, then swap the drive over.

Also look at inserting the laptop HDD to an IDE slot on your other machine.

The idea is to get the auto installer to do as much of the work as possible.

After confirming that none of the above is possible - I'll look at what adjustments are needed to get the external install to work (somewhat) as an internal install. With luck, it will just be a matter of editing the configuration files to suit the new hardware.
 
Old 01-21-2007, 03:29 AM   #5
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
hi there,

My laptop dosn't have USB support and I don't have a second laptop that i could install it on and then remove the hard drive and place it in my current laptop.

I tried something else before, but it didn't work either, I tried the 'install to HDD' option and then used sda1 as my selected location, but that didn't work.

I'm read to list to any other suggestions u might have.
 
Old 01-22-2007, 03:29 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK - but I've never done this myself so no guarantees OK? At least this should give you an idea of what is involved.

You have an installation of DSLinux already on the HDD.
You will have to prepare it for insertion into the laptop.

The external HDD is currently sda - and grub will call it (hd1) or similar.
Make sure the correct partition is bootable (if you can boot from USB on any machine, you can test this simply by booting from the drive.)

You will need to edit the grub.conf and fstab to get the device names correct for the laptop.

Grub.conf:
(hdx,y) references need to be (hd0,y).
(sdx,y) references need to be (hd0,y).
You will probably need to pass things like noapic and nolapic on the kernel line. However, DSL has excellent support for legacy hardware - so you may luck out there.

fstab:
all sdax references need to be hdax.

(Hopefully you wont have to relabel the block special files.)

You will need to edit xorg.conf to get the display and HID settings right for the laptop.
Suggest you make sure it uses the vesa driver, a low res screensetting with slow refresh etc (it can be set properly on the laptop). Concentrate only on mouse and keyboard and hope you don't need drivers. A touchpad you can take care of later.

Any questions?
(Say, "No Simon.")
Good - go for it... and lament that you have but one sanity to give in the name of digital freedom. Good luck, and may Patina guide you.
 
Old 01-22-2007, 06:24 AM   #7
uranid10t
LQ Newbie
 
Registered: Apr 2006
Distribution: DSL 1.4, Dreamlinux 2.0 (Getting ready to install 2.2), Still tinkering with FreeBSD
Posts: 14

Rep: Reputation: 0
Here is a different way to get this installed. I've done this so I know it works!

Get a 2.5 to 3.5 ide converter. Throw it into a computer and boot the DSL CD. I did disconnect the other Hard Drives in the computer to do this. Once the CD is working, you can cfdisk the HD, and then install DSL to the Hard drive. Once finished, just put the harddrive into the laptop.

Now the problems you may encounter....

The laptops mouse.

This happens to be the only thing that I had a problem with once I got DSL onto the HD for my laptop. (Laptop is a PI 133 w/ 16MB Ram. I installed With a PIII 500Mhz 256 MB Ram machine.)

I'm currently getting ready to wipe out this HD again, to install the newer version of DSL on it. Currently it has version 1.2 on it.

This will work.

Last edited by uranid10t; 01-22-2007 at 06:26 AM.
 
Old 01-23-2007, 09:59 AM   #8
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
hi there and thanks for your help, but i managed to find a friend and borrow there laptop, install DSL on there laptop using my hard drive and then transfer it over.
 
Old 01-25-2007, 04:45 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by uranid10t
Get a 2.5 to 3.5 ide converter. Throw it into a computer and boot the DSL CD
Sooo... BIOS would see two IDE devices, you tell it to boot off the one that isn't your HDD?

Remember: this laptop doesn't have a boot from CD option in BIOS.

Quote:
Originally Posted by paul_mat
but I managed to find a friend and borrow their laptop
Spoilsport

Well done - it is amazing what you can get off a friend: remember -
A friend isn't someone you can just use and discard - a friend is someone you can use and use and use...

Last edited by Simon Bridge; 01-25-2007 at 04:46 AM. Reason: attribute 2nd quote
 
Old 01-28-2007, 07:26 AM   #10
uranid10t
LQ Newbie
 
Registered: Apr 2006
Distribution: DSL 1.4, Dreamlinux 2.0 (Getting ready to install 2.2), Still tinkering with FreeBSD
Posts: 14

Rep: Reputation: 0
Actually what I meant was to put the Laptop HD into another computer altogether. Sorry about the confusion. You would take the converter and the laptop HD, and put them into a differnt computer. Disconnect that computers HD and boot to the CD. Install the DSL onto the laptop HD and then move the laptop HD back to the laptop.
 
Old 01-28-2007, 07:57 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Ah right - turn the lappy HDD into an internal desktop HDD, install normally. Instead of, as was being attempted, turning the lappy HDD into and external USB drive. Fairy nuff - and the converter may be useful for other things later.

It also struck me, since lappys seldom have more than one IDE port anyway, to replace the HDD with a CDROM drive... (may work if this laptop is actually a cutdown version of an expensive model (cheaper by removing components) - then the bios can still use a cd drive if it sees one.) Boot DSL with the "toram" option... remove the cdrom drive, add the hdd, then install to hdd from the desktop. May work... but I wouldn't hold my breath over it.

Things can get even more convoluted than that.

However, in the end, the easiest path was taken. It is often simpler just to steal... sorry, borrow another laptop.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install DSL on Gateway Laptop P2 96MB Ram Eric952x DamnSmallLinux 6 11-10-2006 10:12 AM
Install DSL on laptop with no CD lees Linux - Laptop and Netbook 1 03-16-2006 01:52 PM
how to install external harddrive ION USB 2.0 IOGEAR? cara Slackware 4 03-01-2006 05:33 PM
Install on Desktop but use HD as external for laptop rapaport Linux - Newbie 2 08-07-2005 02:42 PM
How DO YOu install a external harddrive??? (slakcware 9.1) chutsu Linux - Hardware 4 11-25-2003 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration