[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2019-11-20 Thread Jenish patel
** Changed in: grub-installer (Ubuntu)
 Assignee: (unassigned) => Jenish patel (jenishpatel1999)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/630529

Title:
  Installing from USB drive writes boot sector to USB not HDD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/630529/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2012-05-03 Thread JC Hulce
This bug affects Ubuntu 10.10, Maverick Meerkat. Maverick has reached 
end-of-life and is no longer supported, so I am closing the bugtask for 
Maverick. Please upgrade to a newer version of Ubuntu. 
More information here: 
https://lists.ubuntu.com/archives/ubuntu-announce/2012-April/000158.html

** Changed in: grub-installer (Ubuntu Maverick)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/630529

Title:
  Installing from USB drive writes boot sector to USB not HDD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/630529/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2012-01-06 Thread AaronPeterson
it appears that the kubuntu 11.10 desktop 32bit iso put onto a cd using 
startdisk creator in 11.10 has a similar problem.
It just never boots,   It dumps me into a busybox shell. Linux Mint 12 also 
does this to me. (only on my netbook)
The same media works on 2 other computers.

Could it be something to do with the half mini pciExpress ssd not being
detected?   (I am filing a bug, this just looked similar)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/630529

Title:
  Installing from USB drive writes boot sector to USB not HDD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/630529/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubiquity

** Branch linked: lp:ubuntu/ubiquity

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Vincem
I've just tested and can confirm the new version of ubiquity fixes this
problem for me.

Thanks for the work on this - and again apologies for the wrong log
files last night

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Evan Dandrea
The logs you attached do not appear to be from an install attempt.  May
I please ask that you try again, being sure to attach
/var/log/installer/debug and /var/log/syslog from the install
environment, following the directions above as well as the following:

http://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs

Thanks!

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Colin Watson
I managed to reproduce this locally by booting with 'break=top', running
'modprobe usb-storage', and then continuing with boot; this forced the
USB disk to be /dev/sda.  Evan and I then pair-programmed a fix.
Uploaded.

** Also affects: ubiquity (Ubuntu Maverick)
   Importance: Critical
   Status: Incomplete

** Changed in: ubiquity (Ubuntu Maverick)
   Status: Incomplete = In Progress

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Vincem
Apologies...I thought I had added the right logs.

If you want me to test the new fix with the hardware configuration
mentioned let me know and I will be happy to do so tonight.

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 2.4.7

---
ubiquity (2.4.7) maverick; urgency=low

  [ Evan Dandrea, Colin Watson ]
  * Fix code to ensure that GRUB isn't installed to the installation device
when it's a USB stick; this was a combination of the installation device
typically being a partition rather than a disk device, and the fact that
grub-mkdevicemap now emits /dev/disk/by-id/ names rather than
traditional device names (LP: #630529).
 -- Colin Watson cjwat...@ubuntu.com   Wed, 06 Oct 2010 14:01:53 +0100

** Changed in: ubiquity (Ubuntu Maverick)
   Status: In Progress = Fix Released

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-06 Thread Colin Watson
This affects d-i too, so I've added a grub-installer task.  We aren't
going to be able to squeeze this into 10.10, but we can deal with it for
natty.

Vincem: yes please!  We should have fresh daily CD images in a few
hours.

** Also affects: grub-installer (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: grub-installer (Ubuntu Maverick)
   Status: New = Triaged

** Changed in: grub-installer (Ubuntu Maverick)
   Importance: Undecided = High

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Evan Dandrea

** Patch added: 630529.patch
   
https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1672796/+files/630529.patch

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Evan Dandrea
Okay, I have a patch that should hopefully at least solve the surface
level problem for you.  Could you please run the install one last time
for me, following these instructions:

Press Try Ubuntu at the first screen.  When the desktop appears, connect to 
the Internet, open a terminal window, then run the following commands:
sudo apt-get -y install patch
wget 
https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1672796/+files/630529.patch
 -O /tmp/patch
cd /usr/lib/ubiquity
sudo patch -p0  /tmp/patch # Make sure this command completes successfully
sed -i 's/#set -x/set -x/' /usr/share/grub-installer/grub-installer
ubiquity -d

Run through the install again and let me know if the bootloader is still
getting installed to the pen drive.  If it's not, please attach
/var/log/installer/debug and /var/log/syslog from that installation
attempt.

Thanks a bunch for all your help in getting to the bottom of this!

** Changed in: ubiquity (Ubuntu)
   Importance: High = Critical

** Changed in: ubiquity (Ubuntu)
Milestone: None = ubuntu-10.10

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Brian Murray
** Tags added: patch

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Vincem
Unfortunately it still failed and requires the pen drive to boot. I am
attaching the log files requested from the install

** Attachment added: Debug file from failed install - patch testing
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1673883/+files/debug

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Vincem

** Attachment added: Syslog file from failed install - patch testing
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1673884/+files/syslog

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Vincem
I forgot to add that I had to run sed with sudo as I was getting
permission denied errors without this

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-10-05 Thread Vincem
I just tried again and noticed that during the process there was a not
running grub install /dev/sda. Since sda is the pen drive (mounted as
/cdrom) then this is writing grub to the pen drive and not the internal
hdd.

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-30 Thread Vincem
apport information

** Tags added: apport-collected

** Description changed:

  Binary package hint: ubiquity
  
  When installing 10.10 beta 1 from a USB pen drive (created using startup
  disk creator in 10.04) and selecting any of the automatic partition
  setup modes, the MBR/Boot Sector is written to the USB pen drive
  (detected as sda) and not the internal HDD (sdb). If the partitions are
  manually created and the boot sector location set to the HDD then it is
  written correctly.
  
  Ubiquity version - 2.3.13 (as installed in the beta ISO).
  
  Installer log files from installation attached
+ --- 
+ Architecture: i386
+ DistroRelease: Ubuntu 10.10
+ LiveMediaBuild: Ubuntu 10.10 Maverick Meerkat - Release Candidate i386 
(20100928)
+ Package: ubiquity 2.4.4
+ PackageArchitecture: i386
+ ProcEnviron:
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
+ Tags: maverick
+ Uname: Linux 2.6.35-22-generic i686
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

** Attachment added: Casper.gz
   
https://bugs.edge.launchpad.net/bugs/630529/+attachment/1659589/+files/Casper.gz

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-30 Thread Vincem
 On 29/09/10 17:43, Evan Dandrea wrote:
 Vincem,

 Unfortunately, I'm unable to reproduce this myself using the latest
 daily-live CDs.  However, I think I may have found the root of your bug.
 Just for my sanity, could I ask that you run through the installer one
 more time, but in debug mode, using the latest daily-live CD
 (http://cdimage.ubuntu.com/daily-live )?  To get into debug mode, hit
 Try Ubuntu, then run `ubiquity -d` from a console window.  When the
 install finishes, run `apport-collect 630529` which will attach
 /var/log/syslog, /var/log/installer/debug, and /var/log/partman to this
 bug report automatically.

 Thanks!

Hi Evan

I have completed a new install and attached the logs as requested. Using
last nights live CD to install from the same pen drive (Kingston 8GB) I
still have the same problem where I have to boot from the pen drive as
the installer appears to install the MBR onto the pen drive and not the
hard drive I installed the OS onto.

Regards

Vince Marsters

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-30 Thread Vincem
I have uploaded to logs as requested but can confirm using the live CD
from last night I still have the same problem where I need to boot off
the pen drive as the boot sector appears to have been written to this
and not the hard drive.

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-29 Thread Evan Dandrea
Vincem,

Unfortunately, I'm unable to reproduce this myself using the latest
daily-live CDs.  However, I think I may have found the root of your bug.
Just for my sanity, could I ask that you run through the installer one
more time, but in debug mode, using the latest daily-live CD
(http://cdimage.ubuntu.com/daily-live )?  To get into debug mode, hit
Try Ubuntu, then run `ubiquity -d` from a console window.  When the
install finishes, run `apport-collect 630529` which will attach
/var/log/syslog, /var/log/installer/debug, and /var/log/partman to this
bug report automatically.

Thanks!

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-09 Thread Vincem
I have uploaded the log files requested using the same kit I logged the
fault on.

** Attachment added: Log files as requested
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1561964/+files/live%20logs.tar.gz

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-07 Thread Evan Dandrea
Can you please boot into the live environment with that exact hardware
configuration, and attach the output of the follow commands to this bug
report:

sudo grub-mkdevicemap --no-floppy -m -

cat /proc/mounts

udevadm info --export-db

Thanks!

** Changed in: ubiquity (Ubuntu)
   Importance: Undecided = High

** Changed in: ubiquity (Ubuntu)
   Status: New = Incomplete

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-04 Thread Vincem
Adding installer logs which do not appear to have uploaded with the
initial report

** Attachment added: Installer logs
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/630529/+attachment/1544546/+files/installer.tar.gz

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 630529] Re: Installing from USB drive writes boot sector to USB not HDD

2010-09-04 Thread Vincem
Also to add

This is on an Acer Aspire One 533 netbook
USB Pendrive is a Kingston Traveller 8GB which is detected as a USB HDD

-- 
Installing from USB drive writes boot sector to USB not HDD
https://bugs.launchpad.net/bugs/630529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs