Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Failed HD-Install< Next Oldest | Next Newest >
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 09 2006,21:11 QUOTE

I'm trying to get a frugal *and* a hd-install. Here is my partitioning:

hda1 - Win98
hda2 - Frugal
hda3 - Swap
hda4 - (extended)
hda5 - hd install
hda6 - (to be mydsl and home)

My attempts to install from cd-boot failed because my external cdrom is dodgy and produces failed reads at various points. So I did a frugal install from an iso stored on hda1. Then from the frugal I attempted a hd install. This seemed to work except produced error saying missing /boot/boot.img (?) and I opted not to reinstall grub, intending to add an additional entry to existing menu.lst on hda2. Because of the above error I checked hd5's boot directory and copied missing kernels from hda2 - is this the correct thing to do?

I have added the following to the grub menu in an attempt to boot from hda5. Could anyone tell me if this is correct or not?

title DSL-HD
root (hd0,4)
kernel /boot/linux24 root=/dev/hda5
initrd /boot/minirt24.gz

Any help appreciated.
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: July 09 2006,23:09 QUOTE

Should have something like this

title DSL
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal

Once you get home mounted on hda6 you will want to add nofstab (which will skip the rebuilding the fstab but it will still be used) otherwise your fstab won't remeber to mount /home.  For my hd install mine looks like:

title DSL
kernel /boot/linux24 root=/dev/hda6 quiet vga=normal nofstab dma noscsi nofirewire noagp noregen

I modified the knoppix-autoconfig to skip the generation of the lib so and modules.dep using the code noregen (this way if my harware is modified I can edit and remove the noregen for a single boot and get them updated).  I will probably update for the pci bus to be 66 (i think it is pci= or bus= can't remeber exactly right now).

Anyway, the most important is kernel /boot/linux24 root=/dev/<your partition>
Back to top
Profile PM 
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 10 2006,07:37 QUOTE

Edit: Added the swap partition to the info below. I'm in the process of re-assigning hd3 to the hd-install to this partition because I think 256M may suffice once I've created seperate partitions for /home, /usr and /opt. Is there any danger to putting /etc on it's own partition? Hopefully this scheme is not an overkill and will make updates less painless.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Brian, that got me booted. My partition sizes are:

hd3, 256M (swap)
hd5, 1.9G (129.6M used)
hd6, 4.2G (not used at the mo)

Belated but what would you recommend I do to minimise any reconfig if updating in the future? Can I use hd6 for both "home" and "opt" or would it be better to split hd6 into two seperate partitions? Once these are relocated exactly how much space is likely to be needed on hd5? I suspect I should severely reduce this partition size and shift all non-static elements to yet another partition, but what?

Re "noregen": I have kept the frugal install on a seperate partition so I could boot from it if I need to update the hd-install. Also my hardware won't change apart from usb/pcmcia devices. What are the pro's/con's of using noregen in this situation? (I checked the wiki cheatcodes but see no mention of noregen).

Finally, for now  :laugh: , if I were to put home and opt on same partition, as subdirectories, how do I change fstab to point to those subdirectories and not just the partition? Excuse the lame newby question  :D

Thanks again for your help.
Back to top
Profile PM 
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 10 2006,10:03 QUOTE

OK, I now have:

hda1, w98, 4G
hda2, Frugal, 1G (extra space to be used when updating hd-install)
hda3, HD-Install, 256M
hda4, (extended)
hda5, swap, 256M

...and I intend to add the following...

hda6, home, 2G
hda7, opt, 1G
hda8, tmp, 500M
hda9, usr, 2G
hda10, var, 500M

I figure /etc is small and easily back-up between updates so I'm leaving it on hda3. As for the new partitions and from what I've googled this seems a fair distribution of the remaining 6G and I figure I can always resize them if needed using gparted. Any comments welcome!

One thing I'm not sure is if all the boot options are still valid for the hd-installed dsl. Eg, do I still need a "mydsl"? Also my attempts so far to set the host name from either the boot option or /etc/hostname has failed and I still end up with "box" (I have checked that /etc/hostname changes persist after reboot) - this worries me because I don't know what else is not being picked up from /etc!
Back to top
Profile PM 
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 10 2006,10:53 QUOTE

hmmm, definately a problem here because having created the "home" partition and making an fstab entry it is still created on hda3.
Back to top
Profile PM 
5 replies since July 09 2006,21:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Failed HD-Install

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code