[RESOLVED] da sda/sdb a hda/hdb
Inviato: lun 7 dic 2009, 21:10
Il mio pc è composto da 2 hd , 1 con linux e l'altro con win.
prima le partizioni erano contrassegnate da hda (win) e hdb (linux) , dopo aver reinstallato windows le partizioni sono cambiate diventando sda (win) e sdb(linux) , il kernel da me compilato adesso và in panic proprio perchè cerca hdb/hda che non sono presenti...
(Lilo è configurato bene penso , visto che parte e mi chiede quale os far partire, facendo partire windows correttamente...)
ecco un fdisk -l da ubuntu live.
quindi ora vi chiedo... conoscete un metodo per riportarle a hdb/hda oppure far partire il kernel senza formattare ?
ah dimenticavo ecco il lilo.conf :
ho modificato fstab in modo che sia tutto apposto:
Grazie per l'aiuto
prima le partizioni erano contrassegnate da hda (win) e hdb (linux) , dopo aver reinstallato windows le partizioni sono cambiate diventando sda (win) e sdb(linux) , il kernel da me compilato adesso và in panic proprio perchè cerca hdb/hda che non sono presenti...
(Lilo è configurato bene penso , visto che parte e mi chiede quale os far partire, facendo partire windows correttamente...)
ecco un fdisk -l da ubuntu live.
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x96fd96fd
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS
Disk /dev/sdb: 41.2 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb710b710
Device Boot Start End Blocks Id System
/dev/sdb1 1 4795 38515806 83 Linux
/dev/sdb2 * 4796 5005 1686825 5 Extended
/dev/sdb5 * 4796 5005 1686793+ 82 Linux swap / Solaris
ah dimenticavo ecco il lilo.conf :
Codice: Seleziona tutto
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# Append any additional kernel parameters:
append=" vt.default_utf8=1"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.31.5
root = /dev/sdb1
label = Linux
read-only
image = /boot/vmlinuz-2.6.31.2
root = /dev/sdb1
label = Linux_old
read-only
# Linux bootable partition config ends
Codice: Seleziona tutto
/dev/sdb5 swap swap defaults 0 0
/dev/sdb1 / ext3 defaults 1 1
/dev/sda1 /mnt/win ntfs-3g umask=000 1 0
#/dev/sda1 /mnt/usb vfat user,rw 1 0
#/dev/sda2 /mnt/usb2 vfat user,rw 1 0
/dev/hdc /mnt/dvd udf,iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
none /sys sysfs defaults 0 0