Need Guidance For Dual Booting

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
administrollaattori
Level 15
Level 15
Posts: 5677
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Need Guidance For Dual Booting

Post by administrollaattori » Fri Dec 07, 2018 2:01 pm

sohamsen wrote:
Fri Dec 07, 2018 1:53 pm
In the 2nd video he is using a software called EasyBCD
So which will be better grub command or easybcd?
If not wanting headache, use Grub and forget EasyBCD

rene
Level 8
Level 8
Posts: 2389
Joined: Sun Mar 27, 2016 6:58 pm

Re: Need Guidance For Dual Booting

Post by rene » Fri Dec 07, 2018 2:08 pm

michael louwe wrote:
Fri Dec 07, 2018 1:42 pm
Later released Pentium 4HT processors could run 64bit OS.
Mm, right. Note that if indeed you have a 64-bit capable P4 I would advise the 64-bit version of Mint (not personally fond of MATE but yes, that'll be a fine choice). The thing is that with 3G RAM more than two-thirds of your memory would when using the 32-bit version be sub-optimally used (as "highmem") and likely even more importantly, would not have access to double number of general registers that 64-bit mode has. 64-bit code is slightly bigger and given non-stellar cache-sizes on the P4 that's an issue, but at 3G I'd definitely use 64-bit if indeed possible.

sohamsen
Level 1
Level 1
Posts: 14
Joined: Thu Dec 06, 2018 6:40 am

Re: Need Guidance For Dual Booting

Post by sohamsen » Fri Dec 07, 2018 2:14 pm

thanks

sohamsen
Level 1
Level 1
Posts: 14
Joined: Thu Dec 06, 2018 6:40 am

Re: Need Guidance For Dual Booting

Post by sohamsen » Fri Dec 07, 2018 2:22 pm

I have no WiFi or Broadband.I use usb tethering to use internet via my android device.
During installation through USB can I use usb tethering to get internet?

rene
Level 8
Level 8
Posts: 2389
Joined: Sun Mar 27, 2016 6:58 pm

Re: Need Guidance For Dual Booting

Post by rene » Fri Dec 07, 2018 2:29 pm

That should be possible; the Linux Mint Live DVD/USB you will be installing from is a pretty complete Mint system itself. Old link, but USB tethering looks be to a non-issue as far back as Mint 11: https://www.howtoforge.com/android-smar ... ux-mint-11

I feel you are over-planning this. Make sure to backup anything that should and can not be replaced and just pop the disk in and go.
Last edited by rene on Fri Dec 07, 2018 2:33 pm, edited 1 time in total.

User avatar
michael louwe
Level 9
Level 9
Posts: 2897
Joined: Sun Sep 11, 2016 11:18 pm

Re: Need Guidance For Dual Booting

Post by michael louwe » Fri Dec 07, 2018 2:31 pm

rene wrote:
Fri Dec 07, 2018 2:08 pm
michael louwe wrote:
Fri Dec 07, 2018 1:42 pm
Later released Pentium 4HT processors could run 64bit OS.
Mm, right. Note that if indeed you have a 64-bit capable P4 I would advise the 64-bit version of Mint (not personally fond of MATE but yes, that'll be a fine choice). The thing is that with 3G RAM more than two-thirds of your memory would when using the 32-bit version be sub-optimally used (as "highmem") and likely even more importantly, would not have access to double number of general registers that 64-bit mode has. 64-bit code is slightly bigger and given non-stellar cache-sizes on the P4 that's an issue, but at 3G I'd definitely use 64-bit if indeed possible.
.
The Pentium 4 lineup should have X64 support, but odds are it will run slow as a dog because, well, its a Pentium 4.
http://www.tomshardware.com/forum/33522 ... dows-64bit - Pentium 4 processor support windows 7 64bit
http://www.tomshardware.com/forum/34124 ... processors - Will my p4 dual core processors run win 7 64 bit os?

rene
Level 8
Level 8
Posts: 2389
Joined: Sun Mar 27, 2016 6:58 pm

Re: Need Guidance For Dual Booting

Post by rene » Fri Dec 07, 2018 2:40 pm

Not sure there's a comment or question in the directly above, so just a small comment on that last link: note there's no such thing as a dual core P4; only hyperthreading P4's that were sometimes mistaken for such.

sohamsen
Level 1
Level 1
Posts: 14
Joined: Thu Dec 06, 2018 6:40 am

Re: Need Guidance For Dual Booting

Post by sohamsen » Sat Dec 08, 2018 2:11 pm

How much space should i give the /root partition?
is 25Gb enough?
HDD SPACE IS 75GB
and beside /root /home any other partition necessary? Like /usr.
In live usb i saw that to use themes I have to put theme file in usr in Mate 19

and lastly is /swap necessary?
I have 3GB physical ram.
I am a power user aka root user of android,i flash custom kernels,roms and recoveries, busybox commands,applets
i know these things a bit.

sohamsen
Level 1
Level 1
Posts: 14
Joined: Thu Dec 06, 2018 6:40 am

Re: Need Guidance For Dual Booting

Post by sohamsen » Sat Dec 08, 2018 2:12 pm

and should i use the bootloader location of mint the /root partition ?
If not then do i have to make /boot partition?and how much space should i give it?

rene
Level 8
Level 8
Posts: 2389
Joined: Sun Mar 27, 2016 6:58 pm

Re: Need Guidance For Dual Booting

Post by rene » Sat Dec 08, 2018 4:47 pm

Let me first say that calling it the "/root partition" can be slightly confusing: /root is on a Linux system the home directory of the all-powerful administrator user "root" and is expected to reside on the root partition --- note "root partition" without an initial slash. I on this forum usually try to say "/ partition" so as to avoid that specific potential newling confusion.

Yes, 25G is essentially enough, even if not hugely roomy, for a / partition but as commented before, I would not for your first Linux install separate out any directory to its own partition. Would either disconnect the drive you want undisturbed and let the installer do so automatically, or use the "Something else" option to create a 1G swap partition at the beginning of the drive (or end, but beginning is faster, as mentioned) and use the remaining 74G as one big root partition; two partitions total. Even the swap partition is by the way not necessary any more, but I'd still advise it.

Separating out directories over partitions mostly serves to fragment free space; with for example your suggested 25G for / and, then, somewhat below 50G for /home you'd potentially find yourself in the situation of having 10G free on / when you've filled up /home or vice versa; to be out of space even though you still have 10G on the other partition. There's some point to separating out /home generally, /boot in specific circumstances such as larger than 2T drives on a BIOS system --- but either you should do only in specific circumstances and after gaining a bit of experience mapping onto personal needs and desires. One big, combined / partition is the norm and that which the installer would create by default.

The bootloader you need to install into the MBR of the drive that your BIOS boots from; usually /dev/sda. This is independent of you installing the system itself onto /dev/sda as well (onto partitions /dev/sda1 for swap and /dev/sda2 for /, say) or on your secondary drive /dev/sdb. That is, even more explicitly, no, don't install the bootloader onto the / partition (/dev/sda<N>, or /dev/sdb<N>) but onto the device itself: /dev/sda, assuming your BIOS boots from the first HDD as usual, /dev/sdb if you have set it to boot from the secondary drive (or if you want to use a BIOS boot menu to boot Linux, with the default MBR on /dev/sda undisturbedly booting Windows).

1. Advise: 2 partitions, 1G (to 3G if you insist) swap, and remainder /
2. Install Grub onto the device, /dev/sda usually, that your BIOS boots from, not onto any of its partitions.

Petermint
Level 4
Level 4
Posts: 489
Joined: Tue Feb 16, 2016 3:12 am

Re: Need Guidance For Dual Booting

Post by Petermint » Sat Dec 08, 2018 10:27 pm

25 GB is more than enough. There are other topics asking about 20GB with people talking about 10 GB. For 75 GB, I would not bother with more than one partition. You will end up pushed for space in the main partition and have to shrink your 25 GB partition.

My machine is 4 GB and rarely runs over 2 GB because I do not use Chrome. I use Cinnamon, run Web servers and sometimes run masses of applications without the memory usage reaching 2.5 GB. At the end of the day I shut down instead of hibernating the notebook, giving me a fresh clean system the next day.

After three hours of use, including some programming while sitting on the beach, memory usage is at only 1.8 GB and swap usage is zero. You can run System Monitor to track the memory usage. I deleted Chrome after testing Chrome. The Chrome background memory eater is the only insane application I have found.

KDE based applications, video editing, and games can use heaps of memory. If you use any of those, you should then look at using the minimum size GUI and other memory saving ideas. For video, use one big partition without a separate swap partition. Everything is then free to expand to the maximum.

sohamsen
Level 1
Level 1
Posts: 14
Joined: Thu Dec 06, 2018 6:40 am

Re: Need Guidance For Dual Booting

Post by sohamsen » Sat Dec 08, 2018 10:43 pm

rene wrote:
Sat Dec 08, 2018 4:47 pm
Let me first say that calling it the "/root partition" can be slightly confusing: /root is on a Linux system the home directory of the all-powerful administrator user "root" and is expected to reside on the root partition --- note "root partition" without an initial slash. I on this forum usually try to say "/ partition" so as to avoid that specific potential newling confusion.

Yes, 25G is essentially enough, even if not hugely roomy, for a / partition but as commented before, I would not for your first Linux install separate out any directory to its own partition. Would either disconnect the drive you want undisturbed and let the installer do so automatically, or use the "Something else" option to create a 1G swap partition at the beginning of the drive (or end, but beginning is faster, as mentioned) and use the remaining 74G as one big root partition; two partitions total. Even the swap partition is by the way not necessary any more, but I'd still advise it.

Separating out directories over partitions mostly serves to fragment free space; with for example your suggested 25G for / and, then, somewhat below 50G for /home you'd potentially find yourself in the situation of having 10G free on / when you've filled up /home or vice versa; to be out of space even though you still have 10G on the other partition. There's some point to separating out /home generally, /boot in specific circumstances such as larger than 2T drives on a BIOS system --- but either you should do only in specific circumstances and after gaining a bit of experience mapping onto personal needs and desires. One big, combined / partition is the norm and that which the installer would create by default.

The bootloader you need to install into the MBR of the drive that your BIOS boots from; usually /dev/sda. This is independent of you installing the system itself onto /dev/sda as well (onto partitions /dev/sda1 for swap and /dev/sda2 for /, say) or on your secondary drive /dev/sdb. That is, even more explicitly, no, don't install the bootloader onto the / partition (/dev/sda<N>, or /dev/sdb<N>) but onto the device itself: /dev/sda, assuming your BIOS boots from the first HDD as usual, /dev/sdb if you have set it to boot from the secondary drive (or if you want to use a BIOS boot menu to boot Linux, with the default MBR on /dev/sda undisturbedly booting Windows).

1. Advise: 2 partitions, 1G (to 3G if you insist) swap, and remainder /
2. Install Grub onto the device, /dev/sda usually, that your BIOS boots from, not onto any of its partitions.
So the "/" is the main system directory where the OS installs.So if i use remaining part of the memory after 1G /swap in "/" directory,there is a risk? that i can lose my videos, personal files after OS update? because everything is in same partition.

Petermint
Level 4
Level 4
Posts: 489
Joined: Tue Feb 16, 2016 3:12 am

Re: Need Guidance For Dual Booting

Post by Petermint » Sun Dec 09, 2018 1:10 am

my videos, personal files after OS update?
You can set up two backups. One is your system files using Timeshift or similar. The other is your home directory using anything including one big copy. Copy /home/sohamsen/* or whatever is your home directory.

I copy everything using one big backup. Two separate backups work better for many people due to permissions and timing. You can backup your system only when making major changes. You can backup your home directory every time you save photographs of your favourite grandchild/dog/plant/computer.

Backup to several different devices for safety. The only time I have lost anything is when an automated update killed something, the main reason I do not have automated updates for anything.

rene
Level 8
Level 8
Posts: 2389
Joined: Sun Mar 27, 2016 6:58 pm

Re: Need Guidance For Dual Booting

Post by rene » Sun Dec 09, 2018 1:19 am

sohamsen wrote:
Sat Dec 08, 2018 10:43 pm
So the "/" is the main system directory where the OS installs.So if i use remaining part of the memory after 1G /swap in "/" directory,there is a risk? that i can lose my videos, personal files after OS update? because everything is in same partition.
Only when actually reinstalling does that matter at all; certainly you'll be able to upgrade in place all of the 19 series. It is also quite advised to back up personal data to a different drive anyway, and at most 50G isn't a lot to restore after a full reinstall.

Even if you want to keep personal data on your system over reinstall I lately tend to advise against having it directly in /home. Other than personal files your home directory also contains many "hidden" private configuration and cache directories and most of those you generally want gone at a reinstall so as to start with a clean slate. I personally keep e.g. my Documents folder on a partition that's mounted on /data and only link to it from my home directory. This means I have little use for a separated-out /home.

In these Timeshift and Flatpak days a 25G root partition is not too hard to fill up. Many people do on the other hand have trouble filling up even 10% of a 50G /home. If that's not you feel free to have a separated-out /home or as just now described a separate /data partition but be prepared to potentially run into issues regarding fragmentation of free space.

Post Reply

Return to “Installation & Boot”