View Single Post

   
  #6 (permalink)  
Old 02-20-2008, 06:50 AM
William Park
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

In <alt.os.linux.slackware> Lars <noemail@hotmail.com> wrote:
> > I think you must specify the ram disk option too, to prevent it from
> > putting its root ON that ramdisk.
> > Forgot what the exact syntax was (initrd=no or such), but the help
> > text did always mention it.

>
> Thanks for your replies, guys. I have tried the following at the boot
> prompt:
>
> vmlinuz root=/dev/hda3
> vmlinuz ramdisk=0 root=/dev/hda3
> vmlinuz load_ramdisk=0 root=/dev/hda3
> vmlinuz prompt_ramdisk=0 root=/dev/hda3
> mount root=/dev/hda3 load_ramdisk=0


Try
noinitrd root=/dev/hda3

If that doesn't work, then make your own bootdisk. It goes something
like this...

fdformat /dev/fd0u1440
mke2fs -m0 -N32 /dev/fd0
mount /dev/fd0 /mnt/floppy
cd /mnt/floppy

cat YOUR_KERNEL > vmlinuz
cat > lilo.conf << EOF
boot=/dev/fd0
compact
delay=100
map=map
backup=/dev/null
image=vmlinuz
root=/dev/hda3
read-only
label=linux
EOF

lilo -C lilo.conf

--
William Park <opengeometry@yahoo.ca>, Toronto, Canada
Slackware Linux -- because it works.

Reply With Quote