Unix Technical Forum

boot using mount root=/dev/hdaN still prompts for root disk

This is a discussion on boot using mount root=/dev/hdaN still prompts for root disk within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, With Slackware 10, I am trying to figure out how to boot from floppy (in case of LILO ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 06:49 AM
Lars
 
Posts: n/a
Default boot using mount root=/dev/hdaN still prompts for root disk

Hello,

With Slackware 10, I am trying to figure out how to boot from floppy (in
case of LILO problems, etc.) but then use the root file system on the hard
disk instead of the root floppies. The root partition in on /dev/hda3. The
kernel is the default basic kernel used by the installation program.

When I boot, I hold down the left shift key to get the boot prompt and then
specify "mount root=/dev/hda3" but it still prompts for root floppies. What
am I missing??

Thanks in advance,
Lars


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:49 AM
Eef Hartman
 
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:
> When I boot, I hold down the left shift key to get the boot prompt and then
> specify "mount root=/dev/hda3" but it still prompts for root floppies. What
> am I missing??


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.

PS: the root floppy/ies is what it decompresses INTO that ramdisk,
as so to create a writable root file system.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 06:49 AM
Lars
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

"Eef Hartman" <E.J.M.Hartman@math.tudelft.nl> wrote in message
news:9c08a$42306b30$82a1d217$7267@news2.tudelft.nl ...
> In alt.os.linux.slackware Lars <noemail@hotmail.com> wrote:
> > When I boot, I hold down the left shift key to get the boot prompt and

then
> > specify "mount root=/dev/hda3" but it still prompts for root floppies.

What
> > am I missing??

>
> 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

But I still get:
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER

The boot disk contents:
1248111 Jun 18 2004 vmlinuz
154843 Jun 18 2004 System.map.gz
1077 Jun 18 2004 message.txt
8204 Jun 18 2004 ldlinux.sys
653 Jun 18 2004 f1.txt
41017 Jun 18 2004 config
387 Sep 10 12:00 syslinux.cfg

What am I missing???

Thanks,
Lars


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 06:49 AM
Thomas Overgaard
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk


Lars wrote :

> With Slackware 10, I am trying to figure out how to boot from floppy (in
> case of LILO problems, etc.)


The easiest way is to make a bootdisk for your system. This can be done
using either the 'makebootdisk' or the 'mkrescue' command.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 06:49 AM
Shane (aka froggy)
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

On Thu, 10 Mar 2005 05:42:06 +0000, Lars wrote:

> Hello,
>
> With Slackware 10, I am trying to figure out how to boot from floppy (in
> case of LILO problems, etc.) but then use the root file system on the hard
> disk instead of the root floppies. The root partition in on /dev/hda3. The
> kernel is the default basic kernel used by the installation program.
>

This is probably sacrilige to suggest but....
when I screw up my MBR / or grub I boot to tomsrtbt
http://www.toms.net/rb/
then just mount the devices as needed (for example my grub is located on
/dev/hda3 also)
to rerun lilo I chroot to the mount point
example:
chroot /mnt/hda3
/sbin/lilo

I found knoppix wouldnt chroot properly so wouldnt run /sbin/lilo
correctly
HTH
--

Hardware, n.: The parts of a computer system that can be kicked

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 06:50 AM
Chris Newport
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

Lars wrote:
> Hello,
>
> With Slackware 10, I am trying to figure out how to boot from floppy (in
> case of LILO problems, etc.) but then use the root file system on the hard
> disk instead of the root floppies. The root partition in on /dev/hda3. The
> kernel is the default basic kernel used by the installation program.
>
> When I boot, I hold down the left shift key to get the boot prompt and then
> specify "mount root=/dev/hda3" but it still prompts for root floppies. What
> am I missing??


mount root=/dev/hda3 noinitrd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 06:50 AM
Lars
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

> The easiest way is to make a bootdisk for your system. This can be done
> using either the 'makebootdisk' or the 'mkrescue' command.


Thanks a lot! A boot disk by mkrescue did the trick.

Is it possible that the kernel that was on the other boot floppy (the
generic kernel used by the installation program) was too bare-bone and
simply ignored all the parameters I tried?





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 06:50 AM
Lars
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk

> > specify "mount root=/dev/hda3" but it still prompts for root floppies.
What
> > am I missing??

>
> mount root=/dev/hda3 noinitrd


Thanks, but I tried that too without success. It seems like the bare-bone
kernel on the boot floppy did not support the options I tried. Per Thomas
request (above), I created a new boot disk using mkrescue, and now it works
fine.

Lars




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 06:50 AM
Thomas Overgaard
 
Posts: n/a
Default Re: boot using mount root=/dev/hdaN still prompts for root disk


Lars wrote :

> Thanks a lot! A boot disk by mkrescue did the trick.
>

Glad to hear that.

> Is it possible that the kernel that was on the other boot floppy (the
> generic kernel used by the installation program) was too bare-bone and
> simply ignored all the parameters I tried?


The boot disk that you created from the /bootdisk directory at CD wasn't
meant to be a rescue floppy or something like that. Its solely there for
to use on computers that for some reasons cant boot from the install CD
when installing Slackware.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com