LinuxQuestions.org
Review your favorite Linux distribution.
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 04-21-2007, 11:27 AM   #1
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Rep: Reputation: 15
Question Testing DSL usb pendrive from PC with limited options


Need to test USB stick from PC with limited options. Cant boot via bios because USB-FDD only, no work around for usb pendrive. No floppy drive either.

Tried booting DSL cdrom to get to boot prompt then command : dsl fromusb , but it just boots off cdrom and ignores the usb stick. Any ideas?
 
Old 04-22-2007, 04:23 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You could use the smart boot manager?
you could install a small linux boot image to the hdd, boot from that, which loads DSl from the usb stick?

you could test the stick in someone elses computer.
 
Old 04-27-2007, 12:13 AM   #3
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
You could use the smart boot manager?
you could install a small linux boot image to the hdd, boot from that, which loads DSl from the usb stick?

you could test the stick in someone elses computer.

sorry if im being a thick but I looked up smart boot manager an that appears to be floppy based. My floppy drive doesnt work.

How exactly do you install a boot image to hdd. I know how to install the floppy img to floppy but this is getting out of my depth.

er I have grub installed. Is there a command that I can put in grub to get it to boot dsl on /dev/sda1 ???

cheers for help anyway.
 
Old 04-27-2007, 12:27 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you are able to get the grub menu, then press escape and get into the grub shell.

Grub uses devices that look like (hd0,0) instead of /dev/sda1 and /dev/hda1. If the computer also has a hard drive, I don't know how it will be referenced, however, you can use the autocompletion feature to locate where the kernel is:

Type in "kernel (hd" and press the tab key. You will be presented with the possible drives present. Enter in one of the choices such as "kernel (hd1," and press tab again. Continue until you find a /boot directory on one of the partitions. Add "/boot" to the end of the entry and press tab again. You should find the kernel and the mvlinuz file this way.
example:
Code:
kernel (hd1,1)/boot/vmlinuz-<version>
initrd (hd1,1)/boot/initrd-<version>
boot
These three lines should be enough for you to boot. Provided that the usb drive is detected.
 
Old 04-28-2007, 01:26 AM   #5
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
thanks for that. A very useful piece of info. I must learn more about grub.

Im giving up on this issue as my usb is not detected whilst in grub. i did manage on a friends laptop to boot a floppy omag then test pendrive.

Anybody know why I cant put the floppy imag for boot on a cdrom?
 
Old 05-01-2007, 04:08 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can.
Look in the www.tldp.org web site. You might also want to read documentation in the the /boot or /syslinux directory of a linux installation disk. Keep in mind that the linux 2.6 kernel doesn't fit in a floppy disk so you can't have a disk containing the kernel and another with initrd as you used to be able to do.

If you burn a disk with k3b, you can click on a button to "Modify the bootable settings of the current project" and then load in an image file.
 
Old 05-02-2007, 01:31 AM   #7
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
thanks for the reply. I will definately take a look. Being a newbie, there is so much to read and understand.

Each time I find a solution it just throughs up more questions.

This linux usb stick thing has been going round and round. All I really understood a few weeks back was that to dual boot my machine I needed lilo on the mbr of my windows harddisk to boot my mandriva hard drive.

Then the memorystick project ... DSL makes one large fat partition on 4 gb stick why? Enter fdisk ? enter sfdisk ? Got the partions sorted.

whys the partion need to be FAT 16 if im booting off bios? still aint got a clue on that one.

whys peoples tutorials always adding syslinux? whats syslinux? a boot loader.... enter mtools apparently theres some sort of syslinux dependency that needs mtools .... enter grub....whats wrong with lilo? Still dont see why I want a bootloader on pendrive...more reading.... mv syslinux.config to isolinux.config ....eh? and so it goes on.

Sure im learning loads of stuff. But when am I actually going to get on with something.
 
  


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
usb pendrive carmelo Slackware 3 04-08-2006 10:09 AM
How to manual-install DSL on pendrive. satimis DamnSmallLinux 0 03-06-2006 07:53 PM
DSL on USB Pendrive satimis DamnSmallLinux 11 03-06-2006 07:44 PM
limited internet surfing with Suse Linux 10.0 and Fritz!Box DSL (LAN setting) quantumnicity Linux - Networking 4 02-14-2006 03:13 AM
Transcend 256mb pendrive wont boot DSL gnukish DamnSmallLinux 10 11-16-2005 11:30 PM

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

All times are GMT -5. The time now is 02:36 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