LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-11-2017, 02:54 AM   #16
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7

I just tested the drive on another Dell and it booted without problem, it is a Dell "Dimension" where the non booting one is "Inspiron", both are quite old w/o secure boot, I think I'll leave it won't bother to 'fix' it, thank guys for the tips !
 
Old 08-11-2017, 02:16 PM   #17
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
What model of Inspiron is giving you problems? I have had at least two different Dell Inspiron laptops (one really old, one not so old - a Dell inspiron 15 n5050 i3). The old one was so old there was no secure boot or UEFI boot option at all. The newer one does have a secure boot option or UEFI option, I think, but I purposefully left it deactivated in the BIOS.

I'd have to look around in the BIOS to see if I can figure out what its secure boot or UEFI or MBR boot option looks like or what it's even called.
 
Old 08-12-2017, 10:42 PM   #18
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
FYI the non booting machine is a Inspiron 560 Desktop not a notebook.

Please remember, my problem is when I install the OS with standard hard drive installation method with ext4, the hard drive won't boot properly on some computer via USB adapter, but if I install on flash drive with fat32 it boots on any USB bootable computer.

Last edited by joboy; 08-12-2017 at 10:55 PM.
 
Old 08-13-2017, 02:49 AM   #19
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by joboy View Post
FYI the non booting machine is a Inspiron 560 Desktop not a notebook.

Please remember, my problem is when I install the OS with standard hard drive installation method with ext4, the hard drive won't boot properly on some computer via USB adapter, but if I install on flash drive with fat32 it boots on any USB bootable computer.
Ah, okay. I don't really know what's going on there, but it sounds like things might work if you install with "/" on ext4 and have a separate /boot partition as FAT32. Make /boot, say, 200MB in size, and make the rest of the drive an ext partition for "/".

I don't really understand what you mean by "install on flash drive with fat32".
 
Old 08-13-2017, 11:55 AM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
boot into the drive and post
Code:
fdisk -l
 
Old 08-14-2017, 09:39 AM   #21
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
How to install for USB booting

There is a USB image writer on Ubuntu and Mint to create a bootable usb flash drive with the ISO, the whole thing is reside on fat32, and that boots on any computer. I couldn't post anything until the drive complete normal booting.
 
Old 08-14-2017, 10:22 AM   #22
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by joboy View Post
There is a USB image writer on Ubuntu and Mint to create a bootable usb flash drive with the ISO, the whole thing is reside on fat32, and that boots on any computer. I couldn't post anything until the drive complete normal booting.
If that works on all of your machines, then you could try to do a normal Debian install with /boot on a FAT32 partition (200MB would be plenty of space for this). The other partition on your USB drive, taking up the rest of the space, would be an ext4 partition for "/".
 
Old 08-14-2017, 11:02 AM   #23
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
if in msdos/mbr drive then will need a fat32 partition flagged as EFI(ef00) for uefi systems then grub-pc to install grub in mbr mode and grub-efi to install grub in efi mode. If your going to use the efi partition as /boot would suggest that you make it 500MB otherwise 200Mb as already suggested would be enough.
for a gpt drive besides the EFI partition will also need at least a 1 MB BIOS boot(EF02) partition so to be able to boot on a msdos/mbr system.
 
Old 08-14-2017, 05:43 PM   #24
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
oppps

Last edited by jefro; 08-14-2017 at 05:46 PM.
 
Old 08-15-2017, 12:00 AM   #25
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
Thanks for the tips, but I would not do that, coz FAT32 is not a preferred file system for Linux and less reliable, since only one of my machine doesn't work with the portable installation I would simply leave it.

Quote:
Originally Posted by IsaacKuo View Post
If that works on all of your machines, then you could try to do a normal Debian install with /boot on a FAT32 partition (200MB would be plenty of space for this). The other partition on your USB drive, taking up the rest of the space, would be an ext4 partition for "/".
 
Old 08-15-2017, 03:20 AM   #26
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
I just did a BIOS update on the Dell, it was 5 version behind A0->A6, but nothing changed after the update, there is no secure boot feature, I played with the USB settings a bit still no luck, I will leave it there won't bother to waste time on the USB boot thing.
 
Old 08-15-2017, 08:42 AM   #27
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
I just did a BIOS update on the Dell, it was 5 version behind A0->A6, but nothing changed after the update, there is no secure boot feature, I played with the USB settings a bit still no luck
The usb drive may not be booting because it is a gpt drive therefore would need to create an empty 2 MB BIOS boot(EF02) partition, then regardless if it is a msdos or gpt drive
Code:
grub-install --target=i386-pc /dev/sdx.
x would be the number of the usb drive and assuming your doing this from within the booted usbdrive or chrooted to the usbdrive.

Last edited by colorpurple21859; 08-15-2017 at 08:44 AM.
 
Old 08-16-2017, 01:12 AM   #28
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
That's new to me, but why it boot on other PC ? that Dell Inspiron is the only PC not booting so far, other model include Dell Dimension booted no problem.

Quote:
Originally Posted by colorpurple21859 View Post
The usb drive may not be booting because it is a gpt drive therefore would need to create an empty 2 MB BIOS boot(EF02) partition, then regardless if it is a msdos or gpt drive
Code:
grub-install --target=i386-pc /dev/sdx.
x would be the number of the usb drive and assuming your doing this from within the booted usbdrive or chrooted to the usbdrive.
 
Old 08-16-2017, 04:57 AM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
this is a quess without the output of 'fdisk -l" while booted into the usb drive.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Several questions regarding booting (to install) from USB Twan013 Linux - Newbie 2 03-04-2010 10:17 PM
Booting From USB For Install? carlosinfl Red Hat 3 09-13-2007 07:44 AM
Booting from CD, install from USB? klickiedieklack Linux - Newbie 4 09-07-2007 07:25 AM
HDD Install booting from USB rarsa Mandriva 10 08-24-2006 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration