Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootdisk floppy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Tue Jan 03, 2006 10:26 pm    Post subject: bootdisk floppy Reply with quote

well I have just installed gentoo on an external firewire drive that detects as /dev/sda. I have partitioned it as follows

Code:

/dev/sda1    /mnt/boot
/dev/sda2    /
/dev/sda3    swap
/dev/sda4    /usr/portage


now, I just realized that I can't boot from firewire and I have no internal hardrives, is there a way that I can make some sort of boot floppy so that the computer will boot from that and that will then boot the firewire drive?

I am using grub, or will be, I just want the darn thing to boot from firewire :( will grub and the kernel even fit on a floppy?
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
MEW
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 131

PostPosted: Tue Jan 03, 2006 11:18 pm    Post subject: Reply with quote

There is a guide for that (it was even written for Gentoo!) located at http://www-128.ibm.com/developerworks/library-combined/l-fireboot.html
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Tue Jan 03, 2006 11:42 pm    Post subject: Reply with quote

thank you, I will be looking into that :p EDIT: -- now I have tried that link and decided to use my usb stick as the boot device (which I KNOW I can boot from) and mount that as /boot on the firewire drive, install grub to it and ...nothing, the system comes up saying that "this device does not have valid data to boot or is corrupt" :( I choose the usb stick because I can't get my kernel small enough to fit on a floppy, I can only get it down to 1.7megs and I have run out of ideals, the whole initrd thing scares me alot, I have never done that before, I REALLY want to use the usb stick to boot from and then the firewire drive as my main drive, I am unfortunatly running out of time to do this in as school is approching tommorow and I need to get a working system up in 3 days max ... :(
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
MEW
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 131

PostPosted: Thu Jan 05, 2006 1:37 am    Post subject: Reply with quote

Please post the commands you entered to install grub.

Something else you might want to try would be to have the kernel on the firewire disk and grub on a floppy. I don't know how good grub's support is for firewire drives, but you could put a file (any file) on the firewire disk, install grub on a floppy, boot (from the floppy) to the grub shell, and then use grub's "find" command to see if grub can see the file. (e.g. try "find /etc/make.conf" and check if grub lists any partitions with the file /etc/make.conf on them).
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Thu Jan 05, 2006 1:54 am    Post subject: Reply with quote

well now I have changed the partition table as follows

Code:

/dev/sdb1       /boot
/dev/sda1       /
/dev/sda2       swap

in this setup I have sdb as the usb thumbdrive and sda as the firewire drive, the commands I used to install grub were as follows,
Quote:

grub-install --no-floppy /dev/sdb

after that I normally reboot and everything does nothing I have also tried the traditional way to install grub but to no avail, either I get a "no boot device found; system halted" messege or I get a "this is not a bootable floppy, please insert system disk and press enter to continue" messege, the first one I know how to deal with and only got that once, the first time I tried to install and found out that I couldent boot from firewire. the secound one looks as if it trys to boot from the usb disk but can't for some reason. this afternoon I decided to plug the disk into my laptop and boot from it just to see if it would work, well.... it did and I have no clue why. my main computer can boot from usb just fine, I have tested it with damn small linux on that same exact thimbdrive and it worked perfectly. I don't know why grub can't seem to get itself together, or why this is so complex, I should just be able to use the drive as /boot and install grub on it and have fun :!: is there something i'm missing here? something I have been forgetting to do? I hope this can be solved, I really want to use the usb stick and firewire drive as a portable gentoo system :D [/quote]
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Thu Jan 05, 2006 11:41 pm    Post subject: Reply with quote

bump.... :(
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Fri Jan 06, 2006 2:17 am    Post subject: Progress! Reply with quote

well I just made some major progress, I found an old 3.1 gig western digital hard disk in the closet that works nad is now my /boot partition, everything boots correctly except that when the kernel trys to mount the root fs which is on the firewire disk it detects it too late and won't sync. now I have a fairly good ideal here that I will have to use some sort of initrd. I will keep you posted.


--now that i've tried to find out how to make an initrd, would anyone want to show me how? :lol:
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
MEW
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 131

PostPosted: Fri Jan 06, 2006 3:24 am    Post subject: Reply with quote

Take a look at sys-apps/mkinitrd. (I haven't tried it, because I use a one-step boot, but I think it's what you want.)

EDIT: This might also be helpful: http://www.lissot.net/partition/ramdisk.html
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Sat Jan 07, 2006 1:41 am    Post subject: Reply with quote

ok thanks for all your help, but even with the initrd it just hangs at the same retarded point but within the initrd... is there something I'm doing wrong? I would really like to get this thing booting, if anyone else has any ideals before I go out to buy an internal hard disk :x and waste more money please! speakup! I don't know what else to do.
I followed what was in the link that you gave me about the initrd but the kernel STILL trys to mount root BEFORE my firewire drive is detected. and not even half a secound later it is recognized :evil:
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
MEW
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 131

PostPosted: Sat Jan 07, 2006 2:45 am    Post subject: Reply with quote

You could try this:

[quote=MEW]Something else you might want to try would be to have the kernel on the firewire disk and grub on a floppy. I don't know how good grub's support is for firewire drives, but you could put a file (any file) on the firewire disk, install grub on a floppy, boot (from the floppy) to the grub shell, and then use grub's "find" command to see if grub can see the file. (e.g. try "find /etc/make.conf" and check if grub lists any partitions with the file /etc/make.conf on them).[/quote]
Back to top
View user's profile Send private message
aaronamd
n00b
n00b


Joined: 13 Oct 2005
Posts: 59

PostPosted: Sat Jan 07, 2006 3:39 am    Post subject: Reply with quote

I did, I forgot to mention it though because grub had geometry errors on the floppy, it would either say "grub geom error" or repeat the word "grub" over and over again until filling up the screen
_________________
http://zigtech.net/forum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum