How to convert single boot system to multi boot system installed with Ubuntu 12.04Lt without effecting the current installation

Asked by Sapharulla.P.H.

I installed Ubuntu 12.04LT with out multi boot facility. My hardisk was modified using Disk Utitlity repartitioned the primery to two and formated on small partition as FAT16 and bootable. Currently my har disk is partitioned with primery having two partition and extended having 3 partrtiton. One primery partition is formated FAT16 with bootable facility. How can I change the single boot system to multy boot system to boot DOS, with out disterbing the current Ubuntu installation

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Why do you want to boot DOS? There is DOSBox in the repositories which will allow you to run DOS applications. ....

Thanks

Revision history for this message
Sapharulla.P.H. (thaimadam) said :
#2

Sir,

Thank you for the quick response. I want to keep my accounting package,
which is being used in our company for long time, in separate partition. I
does not want to mix it up with the Ubuntu applications. The DOS emulator
DOSEMU can keep its file only in the Home directory of Ubuntu. Occasionally
on reinstall of Ubuntu I have to take the files out and backup because on
reinstall Ubuntu clear up all the files in the partition. More that I am
interested in more possibilities of Ubuntu.

Thanking you

Sapharulla

On Sun, Dec 21, 2014 at 4:36 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #259339 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Why do you want to boot DOS? There is DOSBox in the repositories which
> will allow you to run DOS applications. ....
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

There is no extra "multi boot facility" that you can install. Ubuntu should automatically create a boot menu that lists all bootable partitions that it can identify. I am not sure if it is able to identify a DOS partition.

What is the output of the following terminal commands:

uname -a
lsb_release -a
sudo fdisk -l
sudo update-grub

Revision history for this message
Sapharulla.P.H. (thaimadam) said :
#4

Sir,
Thank you for the effort. I entered the commands and got the following
display
*********************************************
$ uname -a
Linux Thaimadam1 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43
UTC 2012 i686 i686 i386 GNU/Linux
**************************************************
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
*************************
$ sudo fdisk -l
[sudo] password

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00026f2b

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 19671039 9834496 b W95 FAT32
/dev/sda2 19673086 625141759 302734337 5 Extended
/dev/sda5 19673088 214984703 97655808 b W95 FAT32
/dev/sda6 214986752 410296319 97654784 b W95 FAT32
/dev/sda7 410298368 507955199 48828416 b W95 FAT32
/dev/sda8 507957248 605612031 48827392 83 Linux
/dev/sda9 605614080 625141759 9763840 82 Linux swap / Solaris

Disk /dev/sdb: 1023 MB, 1023934464 bytes
32 heads, 63 sectors/track, 992 cylinders, total 1999872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008bd73

   Device Boot Start End Blocks Id System
/dev/sdb1 * 245 1999871 999813+ 6 FAT16
*************************
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
done

************************************************************
During the installation of Ubuntu the dos partition was not there.
Subsequently I partitioned Primary partition and created the DOS partition
with FAT16 and formated and system transferred using USB.
That partition is shown as above.
" Device Boot Start End Blocks Id System
/dev/sdb1 * 245 1999871 999813+ 6 FAT16"

I would like to boot that partition with grub without reinstalling Ubuntu

Thanking you,
Sapharulla

On Mon, Dec 22, 2014 at 8:31 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #259339 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> There is no extra "multi boot facility" that you can install. Ubuntu
> should automatically create a boot menu that lists all bootable
> partitions that it can identify. I am not sure if it is able to identify
> a DOS partition.
>
> What is the output of the following terminal commands:
>
> uname -a
> lsb_release -a
> sudo fdisk -l
> sudo update-grub
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please provide the output of the boot-info-script:

Install the respective packages, run the script and upload it to pastebin:

sudo apt-get install boot-info-script gawk pastebinit
sudo boot_info_script
pastebinit RESULTS.txt

and copy/paste all output into this question document

Revision history for this message
Sapharulla.P.H. (thaimadam) said :
#6

Sir,

Thanks again. Wish you a very happy X'Mas.
The output of the commands entered are as follows:

$ sudo apt-get install boot-info-script gawk pastebinit
[sudo] password for sapharulla:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libsigsegv2 python-configobj
The following NEW packages will be installed:
  boot-info-script gawk libsigsegv2 pastebinit python-configobj
0 upgraded, 5 newly installed, 0 to remove and 32 not upgraded.
Need to get 737 kB of archives.
After this operation, 3,271 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise/main libsigsegv2 i386
2.9-4ubuntu2 [14.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise/main gawk i386
1:3.1.8+dfsg-0.1ubuntu1 [438 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ precise/main python-configobj
all 4.7.2+ds-3build1 [233 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ precise/universe pastebinit all
1.3-2ubuntu2 [16.0 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ precise/universe
boot-info-script all 0.60-1 [34.9 kB]
Fetched 737 kB in 4s (157 kB/s)
Selecting previously unselected package libsigsegv2.
(Reading database ... 160908 files and directories currently installed.)
Unpacking libsigsegv2 (from .../libsigsegv2_2.9-4ubuntu2_i386.deb) ...
Setting up libsigsegv2 (2.9-4ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package gawk.
(Reading database ... 160916 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.8+dfsg-0.1ubuntu1_i386.deb) ...
Selecting previously unselected package python-configobj.
Unpacking python-configobj (from
.../python-configobj_4.7.2+ds-3build1_all.deb) ...
Selecting previously unselected package pastebinit.
Unpacking pastebinit (from .../pastebinit_1.3-2ubuntu2_all.deb) ...
Selecting previously unselected package boot-info-script.
Unpacking boot-info-script (from .../boot-info-script_0.60-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Setting up gawk (1:3.1.8+dfsg-0.1ubuntu1) ...
Setting up python-configobj (4.7.2+ds-3build1) ...
Setting up pastebinit (1.3-2ubuntu2) ...
Setting up boot-info-script (0.60-1) ...
**************************************************
 sudo boot_info_script

boot_info_script version: 0.60 [17 May 2011]

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information...
Searching sda2 for information...
Searching sda5 for information...
Searching sda6 for information...
Searching sda7 for information...
Searching sda8 for information...
Searching sda9 for information...
Searching sdb1 for information...

Finished. The results are in the file "RESULTS.txt"
located in "/home/sapharulla/".
**************************************************

Attaching the thge file RESULTS.txt

Thanking you,
Sapharulla

On Mon, Dec 22, 2014 at 11:56 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #259339 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please provide the output of the boot-info-script:
>
> Install the respective packages, run the script and upload it to
> pastebin:
>
> sudo apt-get install boot-info-script gawk pastebinit
> sudo boot_info_script
> pastebinit RESULTS.txt
>
> and copy/paste all output into this question document
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Attaching files to e-mails for Launchpad questions does not work. All attachments are immediately discarded.

Please upload the file to pastebin:

issue the terminal command

pastebinit RESULTS.txt

and paste the link that you receive into this question document.

Revision history for this message
Sapharulla.P.H. (thaimadam) said :
#8

http://paste.ubuntu.com/9621820/

On Fri, Dec 26, 2014 at 2:01 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #259339 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Attaching files to e-mails for Launchpad questions does not work. All
> attachments are immediately discarded.
>
> Please upload the file to pastebin:
>
> issue the terminal command
>
> pastebinit RESULTS.txt
>
> and paste the link that you receive into this question document.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/259339
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

There seems to be a wrong fstab entry.

issue the command

gksudo gedit /etc/fstab

This should ask for your password as confirmation of an administrative task, and then open an editor with the fstab configuration file loaded.

in line number 12 change the disk ID from
0995-C115
into
0121-07E0

Save the file and reboot.
The try "sudo update-grub" again and copy/paste the output of that command into this question document.

Can you help with this problem?

Provide an answer of your own, or ask Sapharulla.P.H. for more information if necessary.

To post a message you must log in.