LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-10-2009, 01:52 AM   #1
bert07
Member
 
Registered: Jul 2007
Location: Belgium, Heist-op-den-Berg
Distribution: Ubuntu, Windows, Puppy, and about 50 others on or off
Posts: 63

Rep: Reputation: 16
cannot mount floppy created by ubuntu


Hello folks,

This really is not a new issue caused by ubuntu 9.10; the floppy I'm referring to is made by "startup-manager" in Ubuntu 9.04.

I can mount all DOS-floppies, but I can not get any Linux distro to mount that boot back-up floppy created by startup-manager.

And believe you me: I have several distro's on my system.

This line is in my fstab:

/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

Is it possible that something needs to change here to mount that boot disk (and of course: also still be able to mount the DOS-disks)?

Any help would be appreciated.

Thanks.

Last edited by bert07; 11-10-2009 at 01:57 AM.
 
Old 11-10-2009, 02:09 AM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
i had a similar issue and to run
lsmod floppy
 
Old 11-10-2009, 02:18 AM   #3
bert07
Member
 
Registered: Jul 2007
Location: Belgium, Heist-op-den-Berg
Distribution: Ubuntu, Windows, Puppy, and about 50 others on or off
Posts: 63

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by j1alu View Post
i had a similar issue and to run
lsmod floppy
Did that. Trying to mount and got this error:

Invalid mount option when attempting to mount the volume.
 
Old 11-10-2009, 02:22 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
sorry,
i had also problems mounting a boot floppy when i formatted it with
fdformat. (also it did boot i coulnd mount it). i formatted it with another tool (which i forgot, sorry) and it worked.
i aint got other ideas.
good luck

i had a look at my book: it might be mkdosfs /dev/fd0 or superformat /dev/fd0. after using one of them i was able to mount them (and, as said, i had to run lsmod floppy)

Last edited by j1alu; 11-10-2009 at 02:26 AM.
 
Old 11-10-2009, 02:44 AM   #5
bert07
Member
 
Registered: Jul 2007
Location: Belgium, Heist-op-den-Berg
Distribution: Ubuntu, Windows, Puppy, and about 50 others on or off
Posts: 63

Original Poster
Rep: Reputation: 16
That will not work in this case, because every time the floppy is created, it is automatically formatted by "startup-manager".
And if I should format it now, there would be nothing left to mount except an empty disk, wouldn't there?
 
Old 11-10-2009, 02:59 AM   #6
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
yes sure.(afaik)

one question (out of interest): creating a boot-floppy "manually" wouldnt be an option? that way you could format it with the other command so you will be able to mount it. i think.
i think i followed this how-to but replaced the formatting:
http://sidux.com/index.php?module=Wikula&tag=GrubFloppy

anyway: good luck for you.i hope you will get it sorted.
 
Old 11-10-2009, 03:10 AM   #7
bert07
Member
 
Registered: Jul 2007
Location: Belgium, Heist-op-den-Berg
Distribution: Ubuntu, Windows, Puppy, and about 50 others on or off
Posts: 63

Original Poster
Rep: Reputation: 16
Seems interesting and promising as well.

Cannot test it right now, busy with something else, but I sure will give it a try.

Thank you very much.

*** This does not mean though, that I won't be expecting any other suggestions. Because, regarding to the error message, there is something wrong in the fstab file (options) to mount this kind of boot disk. I surely would prefer a solution with/in the fstab file.
 
Old 11-10-2009, 09:39 AM   #8
bert07
Member
 
Registered: Jul 2007
Location: Belgium, Heist-op-den-Berg
Distribution: Ubuntu, Windows, Puppy, and about 50 others on or off
Posts: 63

Original Poster
Rep: Reputation: 16
Okay.
After a lot of fiddling and rebooting, I got it working now and have now a grub boot/back-up floppy I can mount.

---+---

*** Important ***

Make sure that all "savedefaults" are removed from your menu.lst, otherwise those OS's won't boot. All the others will though.

---+---

* Also take notice of that these commands are optimized for Ubuntu as I installed it (all mount points in directory /media), you'll probably need to adjust the floppy mount point in the code.

Perform as root:
----------------

$ fdformat /dev/fd0

$ mkfs -t ext2 -c /dev/fd0 *or* $ mkfs.vfat /dev/fd0

$ mount /dev/fd0 /media/floppy

$ mkdir -p /media/floppy/boot/grub

$ cp /boot/grub/stage1 /media/floppy/boot/grub
$ cp /boot/grub/stage2 /media/floppy/boot/grub

$ cp /boot/grub/menu.lst /media/floppy/boot/grub/menu.lst

$ umount /dev/fd0

$ grub
$ root (fd0)
$ setup (fd0)
$ quit

---+---

And you're done.
Now you have a grub back-up floppy/boot disk, which one can also mount.

I hope you'll find the disk useful.

---+---

If you do not want all the command-line fuss, I uploaded an image file of my disk, together with 2 programs of which (according your choice) you'll need 1 to write the image to disk. (rawrite and/or rawwrite)

Once written to floppy, you'll only need to copy your own menu.lst file over mine and your done.

$ cp /boot/grub/menu.lst /media/floppy/boot/grub/menu.lst

You can find the zip-file here:

http://www.beebab.be/que/linux_boot_+_rw.zip
(About 297 KB.)

---+---

My thanks go to:

j1alu (on this forum), who pointed me to this URL

http://sidux.com/index.php?module=Wikula&tag=GrubFloppy

There where some mistakes in that file that I adjusted (well, perhaps they were not really mistakes, but the correct commands for that distribution(?))

Take care, you all!

Last edited by bert07; 11-10-2009 at 06:51 PM.
 
  


Reply

Tags
floppy, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount my Floppy drive while creating driver floppy gobs04 Linux - Newbie 2 09-23-2009 07:43 PM
why after every major update in Ubuntu new entries of Ubuntu are created at startup?? salfuser Linux - Newbie 4 01-12-2009 06:08 PM
MINIX mount: Can't mount /dev/fd0 on floppy: Invalid argument jcaser1948 Other *NIX 2 10-04-2006 11:38 AM
Ubuntu won't mount floppy. ajcham Linux - Hardware 1 08-14-2006 10:24 PM
how do i mount ramdisk created with splashutils? jogurt666 Linux - General 1 09-30-2005 05:52 PM


All times are GMT -5. The time now is 02:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration